diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-06-07 12:55:57 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-14 17:34:54 -0300 |
commit | dc0395684c4bdbc735d5867b8157d10c7c0e64f8 (patch) | |
tree | ac161aaa891390d28dbd3b568d44b9217fc80834 /community/perl-ipc-signal/APKBUILD | |
parent | a0e3c1d8cb31ba9fe888e2e24ca1dd03d018fc11 (diff) | |
download | aports-dc0395684c4bdbc735d5867b8157d10c7c0e64f8.tar.bz2 aports-dc0395684c4bdbc735d5867b8157d10c7c0e64f8.tar.xz |
community/perl-ipc-signal: fix URL&License
* modernize
Diffstat (limited to 'community/perl-ipc-signal/APKBUILD')
-rw-r--r-- | community/perl-ipc-signal/APKBUILD | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/community/perl-ipc-signal/APKBUILD b/community/perl-ipc-signal/APKBUILD index 325f022e03..d2a23060bf 100644 --- a/community/perl-ipc-signal/APKBUILD +++ b/community/perl-ipc-signal/APKBUILD @@ -3,37 +3,33 @@ pkgname=perl-ipc-signal _pkgreal=IPC-Signal pkgver=1.00 -pkgrel=2 +pkgrel=3 pkgdesc="Perl module provides utility functions dealing with signals" -url="http://search.cpan.org/dist/IPC-Signal/" +url="https://metacpan.org/pod/IPC::Signal" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" makedepends="perl-dev" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/R/RO/ROSCH/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + 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}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } check() { - cd "$builddir" - make test + make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl |