summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorReihar2015-06-28 16:01:28 +0200
committerReihar2015-06-28 16:01:28 +0200
commit6189ea1b3f9574ead67e175bba8218ca66fbc669 (patch)
tree93874b416fd74e78bc787bc6fc97e7492ddac57d
parentb006944f03edf1ccebc6d7c238e12271d1ad48ad (diff)
downloadaur-6189ea1b3f9574ead67e175bba8218ca66fbc669.tar.gz
4.0.0 version
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD17
2 files changed, 17 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 755eedbc94a..1b2fe1072c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,20 @@
pkgbase = angband-ncurses
pkgdesc = A roguelike dungeon exploration game based on the writings of JRR Tolkien (ncurses-only)
- pkgver = 3.5.1
- pkgrel = 2
+ pkgver = 4.0.0
+ pkgrel = 1
url = http://rephial.org/
arch = i686
arch = x86_64
license = GPL2
license = custom
makedepends = python-docutils
+ makedepends = autoconf
+ makedepends = automake
depends = ncurses
conflicts = angband
conflicts = angband-git
- source = http://rephial.org/downloads/3.5/angband-v3.5.1.tar.gz
- md5sums = 3b9a324551cfd48b101f197a8441f135
+ source = angband-4.0.0.tar.gz::https://github.com/angband/angband/archive/4.0.0.tar.gz
+ md5sums = a47ba8ccb4f378a7471cafbf5dce640c
pkgname = angband-ncurses
diff --git a/PKGBUILD b/PKGBUILD
index e221297ed48..143d188244c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,8 +10,8 @@
_pkgname=angband
pkgname=angband-ncurses
-pkgver=3.5.1
-pkgrel=2
+pkgver=4.0.0
+pkgrel=1
pkgdesc="A roguelike dungeon exploration game based on the writings of JRR Tolkien (ncurses-only)"
arch=('i686' 'x86_64')
url="http://rephial.org/"
@@ -19,14 +19,17 @@ license=('GPL2' 'custom')
depends=('ncurses')
makedepends=('python-docutils'
#'texlive-core' #Uncomment if you want a pdf manual. That's quite the dependency, don't you think?
- )
+ 'autoconf' 'automake')
conflicts=('angband' 'angband-git')
-source=("http://rephial.org/downloads/${pkgver:0:3}/${_pkgname}-v${pkgver}.tar.gz")
-md5sums=('3b9a324551cfd48b101f197a8441f135')
+source=( "${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz"
+# "http://rephial.org/downloads/${pkgver:0:3}/${_pkgname}-v${pkgver}.tar.gz"
+)
+
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./autogen.sh
./configure \
--prefix=/usr \
--bindir=/usr/bin \
@@ -44,6 +47,8 @@ package() {
make DESTDIR="${pkgdir}" install
rm -f "${pkgdir}/usr/share/${_pkgname}/*/delete.me"
- rm -R "${pkgdir}"/usr/share/angband/xtra/{graf,icon,sound}
+ rm -R "${pkgdir}"/usr/share/angband/{icons,sounds}
install -Dm644 copying.txt "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
}
+
+md5sums=('a47ba8ccb4f378a7471cafbf5dce640c')