summaryrefslogtreecommitdiff
path: root/libre/angband-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/angband-libre/PKGBUILD')
-rw-r--r--libre/angband-libre/PKGBUILD42
1 files changed, 22 insertions, 20 deletions
diff --git a/libre/angband-libre/PKGBUILD b/libre/angband-libre/PKGBUILD
index 21bde2beb..8554f8f63 100644
--- a/libre/angband-libre/PKGBUILD
+++ b/libre/angband-libre/PKGBUILD
@@ -1,32 +1,36 @@
-# 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>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
_pkgname=angband
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')
+pkgver=3.5.0
+pkgrel=2
+pkgdesc="A roguelike dungeon exploration game based on the writings of JRR Tolkien, without nonfree artwork and sound effects"
+arch=('i686' 'x86_64' 'mips64el')
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")
+depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'ncurses')
+source=("http://rephial.org/downloads/${pkgver:0:3}/${_pkgname}-v${pkgver}.tar.gz" 'libre.patch')
-build() {
+prepare() {
+ cd "${srcdir}/${_pkgname}-v${pkgver}"
+
+ # remove nonfree parts from source code
+ patch -Np1 -i ../libre.patch
+ rm -v lib/xtra/sound/*.mp3
+ rm -v lib/xtra/graf/64x64.png
+}
- cd "${srcdir}/angband-v${pkgver}"
-
- patch -Np1 -i ../sound.patch
+build() {
+ cd "${srcdir}/${_pkgname}-v${pkgver}"
./configure \
--prefix=/usr \
@@ -39,18 +43,16 @@ build() {
--enable-sdl-mixer
make
-
}
package() {
-
- cd "${srcdir}/angband-v${pkgver}"
+ cd "${srcdir}/${_pkgname}-v${pkgver}"
make DESTDIR="${pkgdir}" install
rm -f "${pkgdir}/usr/share/angband/*/delete.me"
- install -Dm644 copying.txt "${pkgdir}/usr/share/licenses/angband/COPYING"
-
+ install -Dm644 copying.txt "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
}
-sha512sums=('76099c8fa999e88ea1324bb70b4dee5df1faccd1fa256cc0c460ce2c5ddae9634fdef876bd0d826e99e6dcc54a9f9cf619d82552dc658d0115b97e0e644c19d3'
- 'fb3795f7ef5a266e36ef51c9275e65613eeba04fc4283646f21e77ca571b1562c1ad9a11782fe8f1052cefc48b0f3fa1f162bfff88fe8cf62c39e142878d3251')
+
+md5sums=('4f6ee37abdb411285deb1685ddecba6a'
+ '3ac39f377bea2e208308d01f4213310f')