summaryrefslogtreecommitdiff
path: root/user/perl-posix-strftime-compiler
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 01:21:37 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 01:21:37 +0000
commit0ccda5834cfa0c9184969d6877d92da6dc214af5 (patch)
treecc4927822d1255830b434ff7681e5bfe3446998f /user/perl-posix-strftime-compiler
parent853c690c923d43cc54fe515126b93b703287ecfa (diff)
downloadpackages-0ccda5834cfa0c9184969d6877d92da6dc214af5.tar.gz
packages-0ccda5834cfa0c9184969d6877d92da6dc214af5.tar.bz2
packages-0ccda5834cfa0c9184969d6877d92da6dc214af5.tar.xz
packages-0ccda5834cfa0c9184969d6877d92da6dc214af5.zip
user/perl-posix-strftime-compiler: new package
Diffstat (limited to 'user/perl-posix-strftime-compiler')
-rw-r--r--user/perl-posix-strftime-compiler/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-posix-strftime-compiler/APKBUILD b/user/perl-posix-strftime-compiler/APKBUILD
new file mode 100644
index 000000000..55886e7b0
--- /dev/null
+++ b/user/perl-posix-strftime-compiler/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-posix-strftime-compiler
+_pkgname=POSIX-strftime-Compiler
+pkgver=0.42
+pkgrel=0
+pkgdesc="Perl strftime compiler"
+url="https://metacpan.org/release/POSIX-strftime-Compiler"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends=""
+makedepends="perl-dev perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/POSIX-strftime-Compiler-$pkgver.tar.gz"
+builddir="$srcdir/POSIX-strftime-Compiler-$pkgver"
+
+build() {
+ cd "$builddir"
+ perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs=vendor
+ ./Build
+}
+
+check() {
+ cd "$builddir"
+ ./Build test
+}
+
+package() {
+ cd "$builddir"
+ ./Build install destdir="$pkgdir"
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="0c07f1b8589b067533c65a023dd634a29640cb8992aae8047aa1063affe6b30b95930479829982a30a13b87bc7c9ebf82ca4837726bd29658d85d718164e3c76 POSIX-strftime-Compiler-0.42.tar.gz"