summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMike Sampson2015-06-21 20:10:11 +1000
committerMike Sampson2015-06-21 20:10:11 +1000
commitd769863943e35c879bc15be97fd286ab86b0866c (patch)
tree70904b33ab5a6a5097df387d6e2af4de7df49cc4 /PKGBUILD
downloadaur-ifm.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b52bcc71bef
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Mike Sampson <mike at sambodata dot com>
+# Contributor: Brian Schubert <bewschubert@gmail.com>
+
+pkgname=ifm
+pkgver=5.4
+pkgrel=1
+pkgdesc="A language and a program for keeping track of your progress through an Interactive Fiction game."
+arch=('i686' 'x86_64')
+url="http://fluffybunny.memebot.com/ifm.html"
+license=('GPL')
+depends=('tk' 'perl')
+makedepends=('tk')
+source=(http://mirror.ifarchive.org/if-archive/mapping-tools/$pkgname-$pkgver.tar.gz)
+md5sums=('fa18a544fc0fec2ddc452777317357ea')
+options=('docs')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ sed s:/usr/local/doc:/usr/share/doc: -i man/ifm.1
+
+ export CPPFLAGS=-D_GNU_SOURCE
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir docdir=$pkgdir/usr/share/doc install
+}