Date: Friday, April 12, 2019 @ 16:14:52 Author: felixonmars Revision: 451292
addpkg: perl-pkgconfig-libpkgconf 0.10-1 Added: perl-pkgconfig-libpkgconf/ perl-pkgconfig-libpkgconf/repos/ perl-pkgconfig-libpkgconf/trunk/ perl-pkgconfig-libpkgconf/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: perl-pkgconfig-libpkgconf/trunk/PKGBUILD =================================================================== --- perl-pkgconfig-libpkgconf/trunk/PKGBUILD (rev 0) +++ perl-pkgconfig-libpkgconf/trunk/PKGBUILD 2019-04-12 16:14:52 UTC (rev 451292) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-pkgconfig-libpkgconf +pkgver=0.10 +pkgrel=1 +pkgdesc="Perl bindings for libpkgconf" +arch=('x86_64') +license=('PerlArtistic') +url="https://metacpan.org/release/PkgConfig-LibPkgConf" +depends=('perl' 'pkgconf') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/PkgConfig-LibPkgConf-$pkgver.tar.gz") +sha512sums=('29f27e8e046567d43ee3c2b61cb2543bca8399655edc7f9e63268047bc65fb05f8f57ff69d09e623fea8ab9f0a03366c5a967ada73d0d798b7d859ebe6932a9f') + +build() { + cd PkgConfig-LibPkgConf-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd PkgConfig-LibPkgConf-$pkgver + make test +} + +package() { + cd PkgConfig-LibPkgConf-$pkgver + make DESTDIR="$pkgdir" install +}