summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorReihar2015-06-16 21:13:46 +0200
committerReihar2015-06-16 21:13:46 +0200
commit64fa263e1bf18f1ab2453c18aee7252deb8e4db1 (patch)
tree2abfe6560aa1d192ab9d1bacff0d4c546ba6a6f3
downloadaur-64fa263e1bf18f1ab2453c18aee7252deb8e4db1.tar.gz
Initial Import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD48
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..abfb6d6bf5d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = angband-ncurses
+ pkgdesc = A roguelike dungeon exploration game based on the writings of JRR Tolkien (ncurses-only)
+ pkgver = 3.5.1
+ pkgrel = 1
+ url = http://rephial.org/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ license = custom
+ makedepends = python-docutils
+ depends = ncurses
+ conflicts = angband
+ conflicts = angband-git
+ source = http://rephial.org/downloads/3.5/angband-v3.5.1.tar.gz
+ md5sums = 3b9a324551cfd48b101f197a8441f135
+
+pkgname = angband-ncurses
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f7cf9e376aa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Reihar <reihar@necronomicon.fr>
+# Contributor: schuay <jakob.gruber@gmail.com>
+# Contributor: 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>
+
+_pkgname=angband
+pkgname=angband-ncurses
+pkgver=3.5.1
+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/"
+license=('GPL2' 'custom')
+depends=('ncurses')
+makedepends=('python-docutils'
+ #'texlive-most' #Uncomment if you want a pdf manual. That's quite the dependency, don't you think?
+ )
+conflicts=('angband' 'angband-git')
+source=("http://rephial.org/downloads/${pkgver:0:3}/${_pkgname}-v${pkgver}.tar.gz")
+md5sums=('3b9a324551cfd48b101f197a8441f135')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/usr/share/angband \
+ --with-configpath=/usr/share/angband \
+ --with-libpath=/usr/share/angband \
+ --disable-x11
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ rm -f "${pkgdir}/usr/share/${_pkgname}/*/delete.me"
+ install -Dm644 copying.txt "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
+}