diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-12 22:53:11 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-12 22:53:11 -0300 |
commit | e14736ca7ac051726b587d8fdb8368be502a9109 (patch) | |
tree | 6a40b3b2de9bf45e8f31ba5fd45ee8f2615bd4ae /pcr/nppangband-libre/PKGBUILD | |
parent | e6e169990bdfc35fb6151f148510bf3f0da1dc1e (diff) | |
parent | 360a407f262ac47087ff29718465fbfc7765cb73 (diff) | |
download | abslibre-e14736ca7ac051726b587d8fdb8368be502a9109.tar.gz abslibre-e14736ca7ac051726b587d8fdb8368be502a9109.tar.bz2 abslibre-e14736ca7ac051726b587d8fdb8368be502a9109.zip |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/nppangband-libre/PKGBUILD')
-rw-r--r-- | pcr/nppangband-libre/PKGBUILD | 33 |
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') |