updated on Wed Jan 11 20:01:35 UTC 2012
[aur-mirror.git] / ifm / PKGBUILD
blobb52bcc71bef273401c29d3b807009dbcae392e63
1 # Maintainer: Mike Sampson <mike at sambodata dot com>
2 # Contributor: Brian Schubert <bewschubert@gmail.com>
4 pkgname=ifm
5 pkgver=5.4
6 pkgrel=1
7 pkgdesc="A language and a program for keeping track of your progress through an Interactive Fiction game."
8 arch=('i686' 'x86_64')
9 url="http://fluffybunny.memebot.com/ifm.html"
10 license=('GPL')
11 depends=('tk' 'perl')
12 makedepends=('tk')
13 source=(http://mirror.ifarchive.org/if-archive/mapping-tools/$pkgname-$pkgver.tar.gz)
14 md5sums=('fa18a544fc0fec2ddc452777317357ea')
15 options=('docs')
17 build() {
18     cd $srcdir/$pkgname-$pkgver
20     sed s:/usr/local/doc:/usr/share/doc: -i man/ifm.1
22     export CPPFLAGS=-D_GNU_SOURCE
23     ./configure --prefix=/usr --mandir=/usr/share/man
24     make
27 package() {
28     cd $srcdir/$pkgname-$pkgver
29     make DESTDIR=$pkgdir docdir=$pkgdir/usr/share/doc install