summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 03:01:29 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 03:01:29 +0000
commitcb32ba13a0326b5ff8ad26b219ec1105096acb29 (patch)
tree902c88535acf4239ab328b67bc279e8a6531adeb /user
parentb16038594b781b4ea8d4ff7ae8ee6eca7b23b6e1 (diff)
downloadpackages-cb32ba13a0326b5ff8ad26b219ec1105096acb29.tar.gz
packages-cb32ba13a0326b5ff8ad26b219ec1105096acb29.tar.bz2
packages-cb32ba13a0326b5ff8ad26b219ec1105096acb29.tar.xz
packages-cb32ba13a0326b5ff8ad26b219ec1105096acb29.zip
user/perl-file-basedir: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-file-basedir/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-file-basedir/APKBUILD b/user/perl-file-basedir/APKBUILD
new file mode 100644
index 000000000..f1aede61d
--- /dev/null
+++ b/user/perl-file-basedir/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-file-basedir
+_pkgname=File-BaseDir
+pkgver=0.08
+pkgrel=0
+pkgdesc="Base directory specification support for Perl"
+url="https://metacpan.org/release/File-BaseDir"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends="perl-ipc-system-simple xdg-user-dirs"
+checkdepends="perl-file-which"
+makedepends="perl-dev perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/K/KI/KIMRYAN/File-BaseDir-$pkgver.tar.gz"
+builddir="$srcdir/File-BaseDir-$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="6b44edca34906c34d574933c21c0e3a1a236a431a3ac12caeabcc2638688dfe1c02efc9a1e75a2c2cd522de0dca00df0620cd262c184ec938cc97766d1121f99 File-BaseDir-0.08.tar.gz"