Date: Monday, April 19, 2010 @ 01:37:53 Author: allan Revision: 77938
upgpkg: libnl 1.1-2 update url, package had not been rebuilt in two years Modified: libnl/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-04-19 04:35:33 UTC (rev 77937) +++ PKGBUILD 2010-04-19 05:37:53 UTC (rev 77938) @@ -1,12 +1,13 @@ # $Id$ # Maintainer: Jan de Groot <[email protected]> # Contributor: William Rea <[email protected]> + pkgname=libnl pkgver=1.1 -pkgrel=1 +pkgrel=2 pkgdesc="Library for applications dealing with netlink sockets" arch=('i686' 'x86_64') -url="http://people.suug.ch/~tgr/libnl" +url="http://www.infradead.org/~tgr/libnl/" license=('GPL') depends=('glibc') source=(ftp://ftp.archlinux.org/other/libnl/${pkgname}-${pkgver}.tar.gz @@ -15,9 +16,13 @@ 'e1f5e82c8aa1b3ad025c7b588178de1e') build() { - cd ${startdir}/src/libnl-${pkgver} + cd ${srcdir}/libnl-${pkgver} patch -Np1 -i ${srcdir}/fix-compilation.patch || return 1 ./configure --prefix=/usr || return 1 make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 } + +package() { + cd ${srcdir}/libnl-${pkgver} + make DESTDIR=${pkgdir} install || return 1 +}
