updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / nalfs / PKGBUILD
blobe3739361ffd120d7f1ed8d1bed789892f7de3811
1 # Contributor: Andreas Baumann <abaumann@yahoo.com>
3 pkgname=nalfs
4 pkgver=1.2.6
5 pkgrel=2
6 pkgdesc="nALFS is a build tool (originally written to automatize the building of the LFS system)"
7 arch=('i686' 'x86_64')
8 url="http://www.linuxfromscratch.org/alfs/index.html"
9 license=('GPL')
10 depends=('libxml2' 'ncurses')
11 makedepends=('pkgconfig')
12 source=(http://www.linuxfromscratch.org/alfs/downloads/stable/nALFS-$pkgver.tar.bz2)
13 md5sums=('fd8446eedf41d00b5654a9db31c09bb8')
15 build() {
16   cd $srcdir/nALFS-$pkgver
17   ./configure --prefix=/usr || return 1
18   # the automake/autoconf/libtool support is heavily broken in nALFS!
19   # patching here..
20   sed -i 's@-lm/libxml2.la@-lm -lxml2@' Makefile
21   make || return 1
22   make DESTDIR=$pkgdir install