desktop/allegro4/PKGBUILD
Adrián Chaves Fernández (Gallaecio) 84e8ecd094 unknown-horizons: fixed
The latest stable version of fife is not compatible with the 3.x
branch of swig, the one that we have in our core repository.

I have switched to fife-git, which does support swig 3.x.
2016-06-25 10:02:42 +02:00

37 lines
973 B
Bash

# Forked from https://git.archlinux.org/svntogit/community.git/plain/trunk/PKGBUILD?h=packages/allegro4
pkgname=allegro4
pkgver=4.4.2
pkgrel=1
pkgdesc="Portable library mainly aimed at video game and multimedia programming (legacy version)"
arch=('x86_64')
url="http://alleg.sourceforge.net/"
license=('custom')
depends=('sh' 'jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor')
makedepends=('cmake' 'libpng' 'mesa' 'glu')
options=('staticlibs')
source=(http://downloads.sourceforge.net/alleg/allegro-${pkgver}.tar.gz
LICENSE)
md5sums=('4db71b0460fc99926ae91d223199c2e6'
'cd97e2992e8e66b9e6a449d832dc9c7a')
build() {
cd "${srcdir}"
mkdir build && cd build
cmake "../allegro-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWANT_DOCS=OFF
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}