summaryrefslogtreecommitdiffstats
path: root/abs/core/aalib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/aalib/PKGBUILD')
-rw-r--r--abs/core/aalib/PKGBUILD38
1 files changed, 21 insertions, 17 deletions
diff --git a/abs/core/aalib/PKGBUILD b/abs/core/aalib/PKGBUILD
index 164b269..b1c452d 100644
--- a/abs/core/aalib/PKGBUILD
+++ b/abs/core/aalib/PKGBUILD
@@ -1,28 +1,32 @@
-# $Id: PKGBUILD 9082 2008-08-17 03:29:36Z allan $
-# Maintainer: arjan <arjan@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-#
+# $Id$
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
pkgname=aalib
pkgver=1.4rc5
-pkgrel=7
-pkgdesc="AAlib is a portable ASCII art GFX library"
-arch=('i686' 'x86_64')
+pkgrel=12
+pkgdesc="A portable ASCII art graphic library"
+arch=('x86_64')
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
+depends=('gpm' 'libx11')
+makedepends=('libxt')
+source=(https://downloads.sourceforge.net/sourceforge/aa-project/${pkgname}-${pkgver}.tar.gz
aclocal-fixes.patch)
-md5sums=('9801095c42bba12edebd1902bcf0a990' '863a96a6689aa7ee073ca448bc2f133d')
+sha1sums=('a23269e950a249d2ef93625837cace45ddbce03b'
+ '98d8c5a13672a8107945d694ff4520e0bc87d3e9')
+
+prepare() {
+ cd ${pkgname}-1.4.0
+ patch -p0 -i "${srcdir}/aclocal-fixes.patch"
+}
build() {
- cd $startdir/src/$pkgname-1.4.0
- patch -Np0 -i ${startdir}/src/aclocal-fixes.patch || return 1
+ cd ${pkgname}-1.4.0
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
- make || return 1
+ make
}
+
package() {
- cd $startdir/src/$pkgname-1.4.0
- make DESTDIR=$startdir/pkg install
- rm ${pkgdir}/usr/share/info/dir
+ cd ${pkgname}-1.4.0
+ make DESTDIR="${pkgdir}" install
}