diff options
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..8a7ea69e9 --- /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.0 +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=$pkgver +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') |