diff options
author | Dirk Langer | 2017-01-05 10:09:20 +0100 |
---|---|---|
committer | Dirk Langer | 2017-01-05 10:09:20 +0100 |
commit | 2623fe32ccac90e93122f9fecd9b1e4c5fd3faf3 (patch) | |
tree | b773e9abf0f376d1f27d78826b6db761fddcb1e7 | |
download | aur-2623fe32ccac90e93122f9fecd9b1e4c5fd3faf3.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..91d6dca8650e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = perl-taint-util + pkgdesc = Perl module to test for and flip the taint flag without regex matches or eval + pkgver = 0.08 + pkgrel = 1 + url = https://metacpan.org/pod/Taint::Util + arch = i686 + arch = x86_64 + license = PerlArtistic + depends = perl>=5.6.2 + options = !emptydirs + source = https://cpan.metacpan.org/authors/id/A/AV/AVAR/Taint-Util-0.08.tar.gz + md5sums = 4f081a8a6e82352741c0486784cbc23d + +pkgname = perl-taint-util + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2ce91660da28 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# CPAN Name : Taint::Util +# Maintainer: Ordoban <dirk.langer@vvovgonik.de> + +pkgname=perl-taint-util +_pkgname='Taint-Util' +pkgver=0.08 +pkgrel=1 +pkgdesc="Perl module to test for and flip the taint flag without regex matches or eval" +arch=("i686" "x86_64") +url="https://metacpan.org/pod/Taint::Util" +license=("PerlArtistic") +depends=("perl>=5.6.2") +source=(https://cpan.metacpan.org/authors/id/A/AV/AVAR/${_pkgname}-${pkgver}.tar.gz) +options=(!emptydirs) +md5sums=("4f081a8a6e82352741c0486784cbc23d") + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make test +} + +package() { + cd "$srcdir/${_pkgname}-${pkgver}" + make install DESTDIR="${pkgdir}" + find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete +} |