mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
1,016 B
Bash
31 lines
1,016 B
Bash
# Maintainer:
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
# Contributor: arjan <arjan@archlinux.org>
|
|
|
|
pkgname=allegro
|
|
pkgver=4.2.2
|
|
pkgrel=3
|
|
pkgdesc="Portable library mainly aimed at video game and multimedia programming"
|
|
arch=('arm')
|
|
url="http://alleg.sourceforge.net/"
|
|
license=('custom')
|
|
depends=('jack-audio-connection-kit' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor')
|
|
options=('!makeflags')
|
|
source=(http://downloads.sourceforge.net/alleg/${pkgname}-${pkgver}.tar.gz
|
|
LICENSE)
|
|
md5sums=('87ffb1def034e0ec29a9ad4a595cda7e'
|
|
'cd97e2992e8e66b9e6a449d832dc9c7a')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--enable-artsdigi=no \
|
|
--enable-esddigi=no \
|
|
--disable-asm \
|
|
--disable-mmx \
|
|
--disable-sse || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|