aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-file-basedir
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 07:22:38 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 07:22:38 +0000
commit5a223ffe04f28b2c9e55c984359787f7aa27be9d (patch)
tree23b5f561267e8c8bc3609e3f02113c2f3e8d5a12 /community/perl-file-basedir
parent984ddc16e983c3ccdd03b0c0f8317fb9a6e7ed3a (diff)
downloadaports-5a223ffe04f28b2c9e55c984359787f7aa27be9d.tar.bz2
aports-5a223ffe04f28b2c9e55c984359787f7aa27be9d.tar.xz
community/perl-file-basedir: moved from unmaintained, upgrade to 0.07
Diffstat (limited to 'community/perl-file-basedir')
-rw-r--r--community/perl-file-basedir/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/perl-file-basedir/APKBUILD b/community/perl-file-basedir/APKBUILD
new file mode 100644
index 0000000000..c45f6f14d5
--- /dev/null
+++ b/community/perl-file-basedir/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=perl-file-basedir
+_pkgreal=File-BaseDir
+pkgver=0.07
+pkgrel=0
+pkgdesc="Use the Freedesktop.org base directory specification"
+url="http://search.cpan.org/dist/File-BaseDir/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends="perl-module-build perl-ipc-system-simple perl-file-which perl-test-pod-coverage perl-test-pod"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/K/KI/KIMRYAN/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="5d10401970d209049c8491d2906c3e13 File-BaseDir-0.07.tar.gz"
+sha256sums="120a57ef78535e13e1465717b4056aff4ce69af1e31c67c65d1177a52169082b File-BaseDir-0.07.tar.gz"
+sha512sums="782ed883f37aeb28c4c71a10108865b2cc152c2a7a6015f84cf775be452493a3f599182d213a934e48bd64ffc74369bea61ad89f26f8b7b0c2f94504f107b35d File-BaseDir-0.07.tar.gz"