summaryrefslogtreecommitdiff
path: root/community/allegro
diff options
context:
space:
mode:
Diffstat (limited to 'community/allegro')
-rw-r--r--community/allegro/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/community/allegro/PKGBUILD b/community/allegro/PKGBUILD
index 8e5a88a8b..7ab054c75 100644
--- a/community/allegro/PKGBUILD
+++ b/community/allegro/PKGBUILD
@@ -1,27 +1,31 @@
-# $Id: PKGBUILD 146876 2012-01-19 02:37:24Z eric $
-# Maintainer: Ionut Biru <ibiru@archlinux.org>
+# $Id: PKGBUILD 68209 2012-03-19 09:36:12Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: arjan <arjan@archlinux.org>
pkgname=allegro
pkgver=5.0.6
-pkgrel=1
+pkgrel=2
pkgdesc="Portable library mainly aimed at video game and multimedia programming"
arch=('x86_64' 'i686')
url="http://alleg.sourceforge.net/"
license=('custom')
-depends=('jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor' 'libpng' 'libgl' 'libjpeg')
-makedepends=('cmake' 'mesa' 'freetype2')
+depends=('jack' 'libxpm' 'freetype2' 'libxxf86dga' 'libxcursor' 'libpng' 'libgl' 'libjpeg' 'physfs')
+makedepends=('cmake' 'mesa')
source=("http://downloads.sourceforge.net/alleg/$pkgname-$pkgver.tar.gz")
sha256sums=('d981a1cac937085e6636e597c492ddb743066516c1d215c2a39e4049bd70dc24')
build() {
+ cd "$srcdir"
+
mkdir build
cd build
cmake "../$pkgname-$pkgver" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DWANT_DOCS=OFF
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWANT_DOCS=OFF \
+ -DWANT_PHYSFS=ON
make
}