PKGBUILDs/extra/aalib/PKGBUILD
2009-10-10 10:49:59 -05:00

25 lines
801 B
Bash

# Maintainer: arjan <arjan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=aalib
pkgver=1.4rc5
pkgrel=6
pkgdesc="AAlib is a portable ASCII art GFX library"
arch=('arm')
url="http://aa-project.sourceforge.net/aalib/"
license=('LGPL')
depends=('glibc' 'ncurses' 'gpm>=1.20.4' 'libx11')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/aa-project/$pkgname-$pkgver.tar.gz
aclocal-fixes.patch)
md5sums=('9801095c42bba12edebd1902bcf0a990'
'863a96a6689aa7ee073ca448bc2f133d')
build() {
cd $startdir/src/$pkgname-1.4.0
patch -Np0 -i ${startdir}/src/aclocal-fixes.patch || return 1
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
make || return 1
make DESTDIR=$startdir/pkg install
rm ${pkgdir}/usr/share/info/dir
}