# Maintainer: arjan # Contributor: Tom Newsom 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 }