summaryrefslogtreecommitdiff
path: root/libre/angband-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-11 13:02:21 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-11 13:02:21 -0300
commit1bfa59cbffbcbeacb585efb582e5f4803117bc56 (patch)
tree53d64087ae2497b6a4de616570a7aa3364bad424 /libre/angband-libre/PKGBUILD
parenteed61b19dc5ccf9520c8ee8155977e173043068d (diff)
angband-libre: add new package to libre repo
Diffstat (limited to 'libre/angband-libre/PKGBUILD')
-rw-r--r--libre/angband-libre/PKGBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/libre/angband-libre/PKGBUILD b/libre/angband-libre/PKGBUILD
new file mode 100644
index 000000000..73d3c1aea
--- /dev/null
+++ b/libre/angband-libre/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: Israfel <israfel@lavabit.com>
+# Original Maintainer: schuay <jakob.gruber@gmail.com>
+# Original Maintainer: Mike Sampson <mike at sambodata dot com>
+# Contributor: Adrian Stratulat <adrian.stratulat at inboxcom>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: KillaB <xGenoBlast@gmail.com>
+# Contributor: Callan Barrett <wizzomafizzo@gmail.com>
+# Contributor: Christian Schmidt <xmucknertx@googlemail.com>
+# Contributor: Sebastian Sareyko <public@nooms.de>
+
+_pkgname=angband-libre
+pkgname=angband-libre
+pkgver=3.4.1
+pkgrel=1
+pkgdesc="A roguelike dungeon exploration game based on the writings of JRR Tolkien, without nonfree sound effects"
+arch=('i686' 'x86_64')
+url="http://rephial.org/"
+license=('GPL2' 'custom')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'ncurses' 'libglade')
+source=("http://rephial.org/downloads/${pkgver:0:3}/angband-v${pkgver}.tar.gz" "sound.patch")
+
+build() {
+
+ cd "${srcdir}/angband-v${pkgver}"
+
+ patch -Np1 -i ../sound.patch
+
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/usr/share/angband \
+ --with-configpath=/usr/share/angband \
+ --with-libpath=/usr/share/angband \
+ --enable-gtk \
+ --enable-sdl \
+ --enable-sdl-mixer
+
+ make
+
+}
+
+package() {
+
+ cd "${srcdir}/angband-v${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ rm -f "${pkgdir}/usr/share/angband/*/delete.me"
+ install -Dm644 copying.txt "${pkgdir}/usr/share/licenses/angband/COPYING"
+
+}
+sha512sums=('76099c8fa999e88ea1324bb70b4dee5df1faccd1fa256cc0c460ce2c5ddae9634fdef876bd0d826e99e6dcc54a9f9cf619d82552dc658d0115b97e0e644c19d3'
+ 'fb3795f7ef5a266e36ef51c9275e65613eeba04fc4283646f21e77ca571b1562c1ad9a11782fe8f1052cefc48b0f3fa1f162bfff88fe8cf62c39e142878d3251')