summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/angband/PKGBUILD (renamed from libre/angband-libre/PKGBUILD)26
-rw-r--r--libre/angband/libre.patch (renamed from libre/angband-libre/libre.patch)0
2 files changed, 13 insertions, 13 deletions
diff --git a/libre/angband-libre/PKGBUILD b/libre/angband/PKGBUILD
index e8a827150..96f200832 100644
--- a/libre/angband-libre/PKGBUILD
+++ b/libre/angband/PKGBUILD
@@ -7,9 +7,10 @@
# Contributor (Arch): Christian Schmidt <xmucknertx@googlemail.com>
# Contributor (Arch): Sebastian Sareyko <public@nooms.de>
# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Márcio Silva <coadde@parabola.nu>
-_pkgname=angband
-pkgname=angband-libre
+pkgname=angband
+_pkgname=$pkgname-libre
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"
@@ -18,13 +19,12 @@ url="http://rephial.org/"
license=('GPL2' 'custom')
replaces=($_pkgname)
conflicts=($_pkgname)
-provides=($_pkgname=$pkgver)
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.parabolagnulinux.org/other/${pkgname}/${pkgname}-v${pkgver}.tar.gz")
+mksource=("http://rephial.org/downloads/${pkgver:0:3}/${pkgname}-v${pkgver}.tar.gz" 'libre.patch')
+source=("https://repo.parabolagnulinux.org/other/${_pkgname}/${_pkgname}-v${pkgver}.tar.gz")
mksource() {
- cd "${srcdir}/${_pkgname}-v${pkgver}"
+ cd "${srcdir}/${pkgname}-v${pkgver}"
# remove nonfree parts from source code
patch -Np1 -i ../libre.patch
@@ -33,14 +33,14 @@ mksource() {
}
build() {
- cd "${srcdir}/${_pkgname}-v${pkgver}"
+ cd "${srcdir}/${pkgname}-v${pkgver}"
./configure \
--prefix=/usr \
--bindir=/usr/bin \
- --sysconfdir=/usr/share/angband \
- --with-configpath=/usr/share/angband \
- --with-libpath=/usr/share/angband \
+ --sysconfdir=/usr/share/$pkgname \
+ --with-configpath=/usr/share/$pkgname \
+ --with-libpath=/usr/share/$pkgname \
--enable-gtk \
--enable-sdl \
--enable-sdl-mixer
@@ -49,12 +49,12 @@ build() {
}
package() {
- cd "${srcdir}/${_pkgname}-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/${_pkgname}/COPYING"
+ rm -f "${pkgdir}/usr/share/$pkgname/*/delete.me"
+ install -Dm644 copying.txt "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
mkmd5sums=('4f6ee37abdb411285deb1685ddecba6a'
diff --git a/libre/angband-libre/libre.patch b/libre/angband/libre.patch
index a044bc6fe..a044bc6fe 100644
--- a/libre/angband-libre/libre.patch
+++ b/libre/angband/libre.patch