1 # Contributor: Andreas Baumann <abaumann@yahoo.com>
6 pkgdesc="nALFS is a build tool (originally written to automatize the building of the LFS system)"
8 url="http://www.linuxfromscratch.org/alfs/index.html"
10 depends=('libxml2' 'ncurses')
11 makedepends=('pkgconfig')
12 source=(http://www.linuxfromscratch.org/alfs/downloads/stable/nALFS-$pkgver.tar.bz2)
13 md5sums=('fd8446eedf41d00b5654a9db31c09bb8')
16 cd $srcdir/nALFS-$pkgver
17 ./configure --prefix=/usr || return 1
18 # the automake/autoconf/libtool support is heavily broken in nALFS!
20 sed -i 's@-lm/libxml2.la@-lm -lxml2@' Makefile
22 make DESTDIR=$pkgdir install