summaryrefslogtreecommitdiff
path: root/user/perl-test-taint/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 00:14:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 00:14:31 +0000
commit2ffbfbf22834f704cd4ac478675bce421950f7bd (patch)
tree7da1537db9ab2c066bcf734bc120718c60924ca7 /user/perl-test-taint/APKBUILD
parentda528e8ca6e8ba73073f2220878673640187f195 (diff)
downloadpackages-2ffbfbf22834f704cd4ac478675bce421950f7bd.tar.gz
packages-2ffbfbf22834f704cd4ac478675bce421950f7bd.tar.bz2
packages-2ffbfbf22834f704cd4ac478675bce421950f7bd.tar.xz
packages-2ffbfbf22834f704cd4ac478675bce421950f7bd.zip
user/perl-test-taint: new package
Diffstat (limited to 'user/perl-test-taint/APKBUILD')
-rw-r--r--user/perl-test-taint/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-taint/APKBUILD b/user/perl-test-taint/APKBUILD
new file mode 100644
index 000000000..02488dfbf
--- /dev/null
+++ b/user/perl-test-taint/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-taint
+_pkgname=Test-Taint
+pkgver=1.06
+pkgrel=0
+pkgdesc="Tools to test taintedness"
+url="https://metacpan.org/release/Test-Taint"
+arch="all"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/Test-Taint-$pkgver.tar.gz"
+builddir="$srcdir/Test-Taint-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="58221b0145d9b908994c093168ca547a18cd56113f4923a4662bb9c113635378740363914d1fd43602f15c76a23cfe26d0682ed6ce22836d712692f439e782c2 Test-Taint-1.06.tar.gz"