summaryrefslogtreecommitdiff
path: root/user/perl-import-into/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-import-into/APKBUILD')
-rw-r--r--user/perl-import-into/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/user/perl-import-into/APKBUILD b/user/perl-import-into/APKBUILD
index 29ccfb837..164a9a92c 100644
--- a/user/perl-import-into/APKBUILD
+++ b/user/perl-import-into/APKBUILD
@@ -1,31 +1,32 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
-# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-import-into
+_pkgreal=Import-Into
+_author=HAARG
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
pkgver=1.002005
pkgrel=0
pkgdesc="Import Perl packages into other packages"
url="https://metacpan.org/release/Import-Into"
arch="noarch"
-license="Artistic-1.0-Perl"
+license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-module-runtime"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Import-Into-$pkgver.tar.gz"
-builddir="$srcdir/Import-Into-$pkgver"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}