summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Keen2018-09-09 07:21:07 -0400
committerKyle Keen2018-09-09 07:21:07 -0400
commit419d8eace122fb6282f9c216b539d330271ab77e (patch)
treeb75e7732aa4cd8380a6051f48f7c1469b6a8d5a4
parent015c76d44c40347c495aee2bb078153d14832343 (diff)
downloadaur-zapm.tar.gz
fix bad URL, add docs
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2b96451443b..cfa77970703 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
# Generated by mksrcinfo v8
-# Fri Dec 11 14:23:28 UTC 2015
+# Sun Sep 9 11:21:03 UTC 2018
pkgbase = zapm
pkgdesc = A science fiction roguelike, Nethack in space.
pkgver = 0.8.3
- pkgrel = 1
+ pkgrel = 2
url = http://zapm.org/
arch = i686
arch = x86_64
license = unknown
depends = ncurses
- source = http://nethack.devnull.net/software/zapm-083-src.tgz
+ source = https://pkgbuild.com/~kkeen/sources/zapm-083-src.tgz
md5sums = 4759b924a506cc0674cfb9aa2ca69866
pkgname = zapm
diff --git a/PKGBUILD b/PKGBUILD
index 0dbbb514c4d..4ebcccd2b57 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,14 @@
pkgname=zapm
pkgver=0.8.3
_pkgver=083
-pkgrel=1
+pkgrel=2
pkgdesc="A science fiction roguelike, Nethack in space."
arch=("i686" "x86_64")
url="http://zapm.org/"
license=("unknown")
depends=("ncurses")
-source=("http://nethack.devnull.net/software/zapm-$_pkgver-src.tgz")
+#source=("http://nethack.devnull.net/software/zapm-$_pkgver-src.tgz")
+source=("https://pkgbuild.com/~kkeen/sources/zapm-$_pkgver-src.tgz")
md5sums=("4759b924a506cc0674cfb9aa2ca69866")
prepare() {
@@ -30,7 +31,11 @@ package() {
make DESTDIR="$pkgdir" ZAPMOWNER='root:games' \
GAMEDIR="$pkgdir/usr/share/games/zapm" \
DATADIR="$pkgdir/usr/share/games/zapm/data" install
+
install -d "$pkgdir/usr/bin/"
ln -s /usr/share/games/zapm/zapm "$pkgdir/usr/bin/zapm"
+
+ install -d "$pkgdir/usr/share/doc/zapm"
+ cp -r docs/* "$pkgdir/usr/share/doc/zapm"
}