aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman@gmail.com>2011-03-08 20:20:06 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-08 20:57:48 -0600
commit852673a8d346918886b56e91ba06aaa44fac2c6e (patch)
tree526d3ba6fc5dbc94250099a72deaf245840e299f /testing
parentd91c3add6b683baded911397d54d32afaaca5435 (diff)
downloadaports-852673a8d346918886b56e91ba06aaa44fac2c6e.tar.bz2
aports-852673a8d346918886b56e91ba06aaa44fac2c6e.tar.xz
testing/perl-file-next: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-file-next/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/perl-file-next/APKBUILD b/testing/perl-file-next/APKBUILD
new file mode 100644
index 0000000000..e0b632105f
--- /dev/null
+++ b/testing/perl-file-next/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer:
+pkgname=perl-file-next
+_pkgreal=File-Next
+pkgver=1.06
+pkgrel=0
+pkgdesc="Perl module for taint-safe file-finding"
+url="http://search.cpan.org/dist/File-Next/"
+arch="noarch"
+license="GPL PerlArtistic"
+depends=
+depends_dev=
+makedepends="perl"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+md5sums="8d901b18e40c477acd18a6ea0fd7de64 File-Next-1.06.tar.gz"