1 # Maintainer: Clayton G. Hobbs <clay@lakeserv.net>
5 pkgdesc="The latest version of the Allegro multimedia library"
7 url="http://alleg.sourceforge.net/"
9 depends=('libsndfile' 'libjpeg' 'libxcursor' 'libgl' 'libpng' 'libvorbis' 'mesa')
12 source=(http://downloads.sourceforge.net/project/alleg/allegro/$pkgver/allegro-$pkgver.tar.gz)
13 md5sums=('e2e314ee7116c7efddd0497d6c885e46')
16 cd "$srcdir/allegro-$pkgver"
17 if [ ! -d build ]; then
22 cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release ..
29 cd "$srcdir/allegro-$pkgver/build"
30 if [ ! -f LICENSE.txt ]; then
34 make DESTDIR="$pkgdir/" install
36 install -D -m644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE