summaryrefslogtreecommitdiff
path: root/user/perl-file-sharedir-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-file-sharedir-install')
-rw-r--r--user/perl-file-sharedir-install/APKBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/user/perl-file-sharedir-install/APKBUILD b/user/perl-file-sharedir-install/APKBUILD
index f2b567b5e..94cd53257 100644
--- a/user/perl-file-sharedir-install/APKBUILD
+++ b/user/perl-file-sharedir-install/APKBUILD
@@ -1,7 +1,11 @@
# Contributor: Dan Theisen <djt@hxx.in>
-# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-file-sharedir-install
-pkgver=0.13
+_pkgreal=File-ShareDir-Install
+_author=ETHER
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.14
pkgrel=0
pkgdesc="Install shared files"
url="https://metacpan.org/pod/File::ShareDir::Install"
@@ -9,26 +13,22 @@ arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
-install=""
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/File-ShareDir-Install-$pkgver.tar.gz"
-builddir="$srcdir/File-ShareDir-Install-$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
}
-sha512sums="a119e38491fad8ae0ebd95913e3b608e09a2b99376a5160e75083a28abe4f83c4f6a36df216365527ff87bf8ec095254b16a2f6d2515c69f34609df8672605ca File-ShareDir-Install-0.13.tar.gz"
+sha512sums="92c1c3899bc58d3e1686fef775ac09e9aab7e3ce6b61d1a8e754127dc1f84627cf1e23e78a5d0042934e011685c0676c706ef7964778c06e073e8725155af34d File-ShareDir-Install-0.14.tar.gz"