summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:48:07 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:48:07 +0000
commitceb9dbc54e29033943b1db1bb5e7e888cc262795 (patch)
treeef759df0e6ce3df1a1ad8d4ad9cd8cc6f35367c9 /user
parent12d8b2ce6705dd37ac80611c08ac2d7fe1fd69b6 (diff)
downloadpackages-ceb9dbc54e29033943b1db1bb5e7e888cc262795.tar.gz
packages-ceb9dbc54e29033943b1db1bb5e7e888cc262795.tar.bz2
packages-ceb9dbc54e29033943b1db1bb5e7e888cc262795.tar.xz
packages-ceb9dbc54e29033943b1db1bb5e7e888cc262795.zip
user/perl-lib-relative: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-lib-relative/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-lib-relative/APKBUILD b/user/perl-lib-relative/APKBUILD
new file mode 100644
index 000000000..daeb17687
--- /dev/null
+++ b/user/perl-lib-relative/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-lib-relative
+pkgver=0.002
+pkgrel=0
+pkgdesc="Add paths relative to the current file to Perl @INC"
+url="https://metacpan.org/release/lib-relative"
+arch="noarch"
+license="Artistic-2.0"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DB/DBOOK/lib-relative-$pkgver.tar.gz"
+builddir="$srcdir/lib-relative-$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="ebe552fbc4967dd8615e2a1ecde69000358b3909095c66b557a6dd68c1a4744ca586dc91d2cf1b679a57ef981ec79a4689ba9c3f846393f4f48e528e85c326b0 lib-relative-0.002.tar.gz"