Date: Wednesday, March 14, 2018 @ 00:39:58 Author: anthraxx Revision: 318928
upgpkg: libcap-ng 0.7.9-1 Modified: libcap-ng/trunk/PKGBUILD ----------+ PKGBUILD | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-03-13 23:52:35 UTC (rev 318927) +++ PKGBUILD 2018-03-14 00:39:58 UTC (rev 318928) @@ -1,35 +1,40 @@ -# $Id$ -# Maintainer: Ionut Biru <[email protected]> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Ionut Biru <[email protected]> # Contributor: Gerardo Exequiel Pozzi <[email protected]> pkgname=libcap-ng -pkgver=0.7.8 +pkgver=0.7.9 pkgrel=1 -pkgdesc="A library making programming with POSIX capabilities easier than traditional libcap" +pkgdesc='Library making programming with POSIX capabilities easier than traditional libcap' +url='http://people.redhat.com/sgrubb/libcap-ng/' arch=('x86_64') -url="http://people.redhat.com/sgrubb/libcap-ng/" -license=('GPL2' 'LGPL2.1') +license=('LGPL2.1') depends=('glibc') -source=(http://people.redhat.com/sgrubb/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('0dece96644bd798020e170fbf7663802') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/stevegrubb/libcap-ng/archive/v${pkgver}.tar.gz) +sha512sums=('eae256b57af37c1170ee372ab9a6af927826a7b7b92f00c68010afbb32893fc265414ecf28f52e912a41609b4ca5e1295363db88dac9c60ea04bd20a1dfeef83') +prepare() { + cd ${pkgname}-${pkgver} + autoreconf -fiv +} + build() { - cd $pkgname-$pkgver - - ./configure --prefix=/usr --enable-static=no --with-python=no + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --enable-static=no \ + -with-python=no make } check() { - cd $pkgname-$pkgver - + cd ${pkgname}-${pkgver} make check } package() { - cd $pkgname-$pkgver - - make DESTDIR=$pkgdir install + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install } -# vim:set ts=2 sw=2 et: +# vim: ts=2 sw=2 et:
