Date: Friday, April 12, 2019 @ 16:58:28 Author: felixonmars Revision: 451306
addpkg: perl-inline-filters 0.20-1 Added: perl-inline-filters/ perl-inline-filters/repos/ perl-inline-filters/trunk/ perl-inline-filters/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: perl-inline-filters/trunk/PKGBUILD =================================================================== --- perl-inline-filters/trunk/PKGBUILD (rev 0) +++ perl-inline-filters/trunk/PKGBUILD 2019-04-12 16:58:28 UTC (rev 451306) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-inline-filters +pkgver=0.20 +pkgrel=1 +pkgdesc="Common source code filters for Inline Modules" +arch=('any') +license=('PerlArtistic') +url="https://metacpan.org/release/Inline-Filters" +depends=('perl-inline' 'perl-inline-c') +checkdepends=('perl-test-pod') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Inline-Filters-$pkgver.tar.gz") +sha512sums=('d1f26682ab7a05bbc1951e87efe94c82b6420633f7f3ce7605e40a4272756a44998ec92c078c1b31dd9e25550c813d19e9829770ad16ae6774cdaf8a85eba620') + +build() { + cd Inline-Filters-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Inline-Filters-$pkgver + make test +} + +package() { + cd Inline-Filters-$pkgver + make DESTDIR="$pkgdir" install +}