aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-file-chdir
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-file-chdir')
-rw-r--r--testing/perl-file-chdir/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-file-chdir/APKBUILD b/testing/perl-file-chdir/APKBUILD
new file mode 100644
index 0000000000..fe8cf9ecaa
--- /dev/null
+++ b/testing/perl-file-chdir/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-file-chdir
+_pkgreal=File-chdir
+pkgver=0.1010
+pkgrel=0
+pkgdesc="a more sensible way to change directories"
+url="http://search.cpan.org/dist/File-chdir/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="aacfafa4a8f13d45be67451e0f9b483e File-chdir-0.1010.tar.gz"
+sha256sums="efc121f40bd7a0f62f8ec9b8bc70f7f5409d81cd705e37008596c8efc4452b01 File-chdir-0.1010.tar.gz"
+sha512sums="0a9390b48d49c2ac0e2f8b409396a6a2ea3518823d1b6d8c23bbf19a438b92d1e784dcf3bc7c0d43b0365b0620557aea1f8d9ef224b68ca9c472fefa8fe1adab File-chdir-0.1010.tar.gz"