diff options
Diffstat (limited to 'extra/aalib/PKGBUILD')
-rw-r--r-- | extra/aalib/PKGBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/extra/aalib/PKGBUILD b/extra/aalib/PKGBUILD index ae5a98b54..df326f65a 100644 --- a/extra/aalib/PKGBUILD +++ b/extra/aalib/PKGBUILD @@ -1,30 +1,33 @@ -# $Id: PKGBUILD 149374 2012-02-07 09:56:45Z eric $ +# $Id: PKGBUILD 197212 2013-10-24 03:56:40Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=aalib pkgver=1.4rc5 -pkgrel=9 +pkgrel=10 pkgdesc="A portable ASCII art graphic library" arch=('i686' 'x86_64') url="http://aa-project.sourceforge.net/aalib/" license=('LGPL') depends=('gpm' 'libx11') makedepends=('libxt') -options=('!libtool') install=aalib.install source=(http://downloads.sourceforge.net/sourceforge/aa-project/${pkgname}-${pkgver}.tar.gz aclocal-fixes.patch) sha1sums=('a23269e950a249d2ef93625837cace45ddbce03b' '98d8c5a13672a8107945d694ff4520e0bc87d3e9') -build() { - cd "${srcdir}/${pkgname}-1.4.0" +prepare() { + cd ${pkgname}-1.4.0 patch -p0 -i "${srcdir}/aclocal-fixes.patch" +} + +build() { + cd ${pkgname}-1.4.0 ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info make } package() { - cd "${srcdir}/${pkgname}-1.4.0" + cd ${pkgname}-1.4.0 make DESTDIR="${pkgdir}" install } |