summaryrefslogtreecommitdiff
path: root/community/allegro
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/allegro
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/allegro')
-rw-r--r--community/allegro/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/allegro/PKGBUILD b/community/allegro/PKGBUILD
new file mode 100644
index 000000000..b432c47e3
--- /dev/null
+++ b/community/allegro/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 93187 2013-06-27 16:11:54Z 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.10
+pkgrel=1
+pkgdesc='Portable library mainly aimed at video game and multimedia programming'
+arch=('x86_64' 'i686')
+url='http://alleg.sourceforge.net/'
+license=('custom')
+makedepends=('cmake' 'mesa-libgl' 'glu')
+depends=('jack' 'libxpm' 'libxxf86dga' 'libgl' 'physfs' 'gtk2' 'libpulse')
+source=("http://downloads.sourceforge.net/alleg/$pkgname-$pkgver.tar.gz")
+sha256sums=('71b81080f34f6e485edd0c51f22923c18ff967d5db438e591e6f3885d5bdcda1')
+
+build() {
+ cd "$srcdir"
+
+ mkdir build
+ cd build
+ cmake "../$pkgname-$pkgver" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWANT_DOCS=OFF \
+ -DWANT_PHYSFS=ON
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "../$pkgname-$pkgver/LICENSE.txt" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: