updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / libslack / PKGBUILD
blob740da193024b719d6c411d2da3492b51b152f033
1 # Contributor: Alexander Mieland (dma147) <dma147@linux-stats.org>
2 # Modified by: Marc St-Laurent <mstlaurent@canada.com>
4 pkgname=libslack
5 pkgver=0.5.2
6 pkgrel=2
7 arch=('i686' 'x86_64')
8 pkgdesc="A library of general utilities designed to make UNIX/C programming easier on the eye"
9 depends=('glibc')
10 makedepends=('gzip' 'perl') # required to install manpages
11 url="http://libslack.org"
12 source=(http://libslack.org/download/${pkgname}-${pkgver}.tar.gz)
13 md5sums=('9942170b2fba9482ec01e80bafd6adcd')
14 license=('GPL')
16 build() {
17         cd ${srcdir}/${pkgname}-${pkgver}
18         ./configure --prefix=/usr || return 1
19         make || return 1
21         # This package has a bug: make install must be run 
22         # twice in order to work.
23         make PREFIX=${pkgdir}/usr install &> /dev/null 
24         make PREFIX=${pkgdir}/usr install || return 1