summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:29:40 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:29:40 +0000
commit89d91bc8a3f32a551b1a1046dc09760b644ab883 (patch)
treecd50752f7c1ade322190507dfed571b54559c076 /user
parentb1804b053a32185209f2e77b4f54e315cd89c5b5 (diff)
downloadpackages-89d91bc8a3f32a551b1a1046dc09760b644ab883.tar.gz
packages-89d91bc8a3f32a551b1a1046dc09760b644ab883.tar.bz2
packages-89d91bc8a3f32a551b1a1046dc09760b644ab883.tar.xz
packages-89d91bc8a3f32a551b1a1046dc09760b644ab883.zip
user/perl-patchreader: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-patchreader/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-patchreader/APKBUILD b/user/perl-patchreader/APKBUILD
new file mode 100644
index 000000000..aa4ea118d
--- /dev/null
+++ b/user/perl-patchreader/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-patchreader
+_pkgname=PatchReader
+pkgver=0.9.6
+pkgrel=0
+pkgdesc="Read and manipulate patches from Perl"
+url="https://metacpan.org/release/PatchReader"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/T/TM/TMANNERM/PatchReader-$pkgver.tar.gz"
+builddir="$srcdir/PatchReader-$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="4ad51a193e9bb24a736e36723cca4e6394f9e54b489ba2e44887fdc034081ab9efdcabdf22ed1976f381e685bd90867098ae47ffb8966c2021d5c690cc4c70d5 PatchReader-0.9.6.tar.gz"