summaryrefslogtreecommitdiff
path: root/pcr/nppangband-libre/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-12 01:25:16 -0700
committerroot <root@rshg054.dnsready.net>2013-07-12 01:25:16 -0700
commit2579dc888d0308c442245d932f99cc4c61c39299 (patch)
tree5918cd8d62c952274814cf483fc59ed0d0751d1b /pcr/nppangband-libre/PKGBUILD
parent2e85ee969c4be5762301fc1447315f132aca1fc8 (diff)
Fri Jul 12 01:25:08 PDT 2013
Diffstat (limited to 'pcr/nppangband-libre/PKGBUILD')
-rw-r--r--pcr/nppangband-libre/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/nppangband-libre/PKGBUILD b/pcr/nppangband-libre/PKGBUILD
new file mode 100644
index 000000000..eeb59f6fc
--- /dev/null
+++ b/pcr/nppangband-libre/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Israfel <israfel@lavabit.com>
+# Original PKGBUILD by James Rayner <iphitus@gmail.com>
+# The Angband "adjust-sound-dir" patch by Chris Carr <rantingman@gmail.com> served as a reference for what files to edit for sound.patch
+
+_pkgname=nppangband
+pkgname=nppangband-libre
+pkgver=6.1.2
+pkgrel=1
+pkgdesc="A variant of Angband that attempts to take popular ideas from other variants, without nonfree sound effects"
+url="http://forum.nppangband.org/"
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname
+depends=('sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'ncurses' 'libx11' 'freetype2')
+source=(http://download.nppangband.org/npp-6.1.2-src.zip sound.patch)
+license=('GPLv2 custom')
+arch=('i686' 'x86_64')
+
+build() {
+ cd $srcdir/npp-6.1.2-src/
+ patch -Np1 -i ../sound.patch
+ sh autogen.sh
+ ./configure --enable-sdl
+ make
+}
+
+package() {
+ cd $srcdir/npp-6.1.2-src/
+ make DESTDIR="$pkgdir/" install
+}
+
+sha512sums=('e12e05fd8944bb1d7e43b883416009a8e77198ee1ad0ea87480eaafb5f46ecdb218ef0b68876fb77cc2ab490a99f9b9303e02c7db385db6eb8d1d01a48cffdd0'
+ '820f4e678543b8f4d5092d6654bb3d4006e039fbc119d9ff5f468c01176497c25579ca2b0d6f6d302b11a3fbfaa6cfcdf89029ff586cda31d97e413cb8b91040')