summaryrefslogtreecommitdiff
path: root/extra/aalib/PKGBUILD
blob: 08c9e2f60887d26108533552b0ffd2fd87cee0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 110751 2011-02-22 01:17:25Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=aalib
pkgver=1.4rc5
pkgrel=8
pkgdesc="A portable ASCII art graphic library"
arch=('i686' 'x86_64' 'mips64el')
url="http://aa-project.sourceforge.net/aalib/"
license=('LGPL')
depends=('glibc' 'ncurses' 'gpm' 'libx11')
makedepends=('libxt')
options=('!libtool')
install=aalib.install
source=(http://downloads.sourceforge.net/sourceforge/aa-project/${pkgname}-${pkgver}.tar.gz
	aclocal-fixes.patch)
md5sums=('9801095c42bba12edebd1902bcf0a990' '863a96a6689aa7ee073ca448bc2f133d')
sha1sums=('a23269e950a249d2ef93625837cace45ddbce03b' '98d8c5a13672a8107945d694ff4520e0bc87d3e9')

build() {
  cd "${srcdir}/${pkgname}-1.4.0"
  patch -p0 -i "${srcdir}/aclocal-fixes.patch"
  ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
  make
}

package() {
  cd "${srcdir}/${pkgname}-1.4.0"
  make DESTDIR="${pkgdir}" install
}