aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-25 00:43:47 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-25 01:02:01 -0300
commit7edc96ca46f0ab18fc1e60546d425ac51f697c26 (patch)
treeb2c4f42b1ab180af8cd454f4dee6c45e4f7de1b5
parent2360bf5a578a4e497b7f00a9a01a3b52cf91685a (diff)
downloadaports-7edc96ca46f0ab18fc1e60546d425ac51f697c26.tar.bz2
aports-7edc96ca46f0ab18fc1e60546d425ac51f697c26.tar.xz
testing/perl-daemon-control: upgrade to 0.001010
-rw-r--r--testing/perl-daemon-control/APKBUILD17
1 files changed, 5 insertions, 12 deletions
diff --git a/testing/perl-daemon-control/APKBUILD b/testing/perl-daemon-control/APKBUILD
index 804cad0de8..4933a2f20e 100644
--- a/testing/perl-daemon-control/APKBUILD
+++ b/testing/perl-daemon-control/APKBUILD
@@ -3,47 +3,40 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-daemon-control
_pkgreal=Daemon-Control
-pkgver=0.001008
+pkgver=0.001010
pkgrel=0
pkgdesc="Create init scripts in Perl"
-url="http://search.cpan.org/dist/Daemon-Control/"
+url="https://metacpan.org/release/Daemon-Control"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-cpancheckdepends=""
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="$cpandepends"
makedepends="perl-dev perl-module-install $cpanmakedepends"
checkdepends="$cpancheckdepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/S/SY/SYMKAT/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/S/SY/SYMKAT/Daemon-Control-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
sed -i -e 's/sleep 10/sleep 11/g' t/*.t
- 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
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
-sha512sums="ba7c5d0b6be6dc03e3ba07ae57639921dd89231a82a7a12821f31e4e9629a218aab787641c608510d1b4024ddd5c2ce58f39d46e6002a7492bbf531d31dc6aa8 Daemon-Control-0.001008.tar.gz"
+sha512sums="5042774d1d0b5b0c3d78bbfaaf3f4c076be0ffbea209a3ec03d33569769a7b1b31d6b6d987115b3585bf1f92262c0f9611c387a10177cab8f750c865c9329e7c Daemon-Control-0.001010.tar.gz"