aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2017-02-13 14:51:53 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-02-14 07:57:36 +0000
commitca72095593e2a802b952824a510bb5fb2dbfd29d (patch)
treee4f95890d692f1a2beea32faeb799733dbdc9c60
parentc3863753e7c5b34bac848c43f6e72a58ffa6435e (diff)
downloadaports-ca72095593e2a802b952824a510bb5fb2dbfd29d.tar.bz2
aports-ca72095593e2a802b952824a510bb5fb2dbfd29d.tar.xz
unmaintained/perl-proc-waitstat: move to community / take ownership
-rw-r--r--community/perl-mime-construct/APKBUILD (renamed from unmaintained/perl-mime-construct/APKBUILD)0
-rw-r--r--community/perl-proc-waitstat/APKBUILD (renamed from unmaintained/perl-proc-waitstat/APKBUILD)18
2 files changed, 8 insertions, 10 deletions
diff --git a/unmaintained/perl-mime-construct/APKBUILD b/community/perl-mime-construct/APKBUILD
index 0bcc57959a..0bcc57959a 100644
--- a/unmaintained/perl-mime-construct/APKBUILD
+++ b/community/perl-mime-construct/APKBUILD
diff --git a/unmaintained/perl-proc-waitstat/APKBUILD b/community/perl-proc-waitstat/APKBUILD
index e4803053e0..97cb915ccd 100644
--- a/unmaintained/perl-proc-waitstat/APKBUILD
+++ b/community/perl-proc-waitstat/APKBUILD
@@ -1,37 +1,35 @@
-# Automatically generated by apkbuild-cpan, template 1
# Contributor: Valery Kartel <valery.kartel@gmail.com>
-# Maintainer: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-proc-waitstat
_pkgreal=Proc-WaitStat
pkgver=1.00
-pkgrel=0
+pkgrel=1
pkgdesc="Perl module interpret and act on wait() status values"
url="http://search.cpan.org/dist/Proc-WaitStat/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-ipc-signal"
-cpanmakedepends=" "
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_pkgreal-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
+ default_prepare || return 1
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl