diff options
Diffstat (limited to 'libre/angband/PKGBUILD')
-rw-r--r-- | libre/angband/PKGBUILD | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/libre/angband/PKGBUILD b/libre/angband/PKGBUILD index 47287a72e..2547d0e63 100644 --- a/libre/angband/PKGBUILD +++ b/libre/angband/PKGBUILD @@ -11,25 +11,32 @@ pkgname=angband _pkgname=$pkgname-libre -pkgver=3.5.1 +pkgver=4.0.0 pkgrel=1.parabola1 pkgdesc="A roguelike dungeon exploration game based on the writings of JRR Tolkien, without nonfree artwork and sound effects" -arch=('i686' 'x86_64' 'mips64el') +arch=('i686' 'x86_64') url="http://rephial.org/" license=('GPL2' 'custom') replaces=($_pkgname) conflicts=($_pkgname) depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'ncurses') -mksource=("http://rephial.org/downloads/${pkgver:0:3}/${pkgname}-v${pkgver}.tar.gz" 'libre.patch') -source=("https://repo.parabola.nu/other/${_pkgname}/${_pkgname}-v${pkgver}.tar.gz") +makedepends=('python-docutils') +mksource=("http://rephial.org/downloads/${pkgver:0:3}/${pkgname}-${pkgver}.tar.gz") +source=("https://repo.parabola.nu/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz" 'libre.patch') mksource() { cd "${srcdir}/${pkgname}-${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 + # remove nonfree stuff from source + rm -v lib/sounds/*.mp3 + rm -v lib/tiles/shockbolt/64x64.png +} + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # remove nonfree references + patch -Np1 -i ../libre.patch } build() { @@ -57,6 +64,6 @@ package() { install -Dm644 copying.txt "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } -mkmd5sums=('3b9a324551cfd48b101f197a8441f135' - '3ac39f377bea2e208308d01f4213310f') -md5sums=('b323f993d1279e560a480c669caa3710') +mkmd5sums=('3813f95f46166ff383923eaba462b194') +md5sums=('38c7d0427471d8fd23c66aeea0ed735f' + '06d123697d06a8a08f5367fae3c38137') |