summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-09-16 14:16:12 -0400
committerMax Rees <maxcrees@me.com>2018-09-16 14:16:12 -0400
commite9ed0c89854650e472d9270a91c8e59f535e3c80 (patch)
tree954065bd6256142aca5e50f17c95634dec7ca38e /user
parentda9f546f40642ec607f479958ec022e4e5a363ef (diff)
downloadpackages-e9ed0c89854650e472d9270a91c8e59f535e3c80.tar.gz
packages-e9ed0c89854650e472d9270a91c8e59f535e3c80.tar.bz2
packages-e9ed0c89854650e472d9270a91c8e59f535e3c80.tar.xz
packages-e9ed0c89854650e472d9270a91c8e59f535e3c80.zip
user/perl-io-stringy: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-io-stringy/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/perl-io-stringy/APKBUILD b/user/perl-io-stringy/APKBUILD
new file mode 100644
index 000000000..e5a271ac7
--- /dev/null
+++ b/user/perl-io-stringy/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-io-stringy
+_pkgreal=IO-stringy
+pkgver=2.111
+pkgrel=0
+pkgdesc="I/O on in-core objects like strings and arrays"
+url="https://metacpan.org/release/IO-stringy"
+arch="noarch"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DS/DSKOLL/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="9da8fb03945bc4a59cea3b3b2e22b15d56b133470e581d1cb03920bda2b4953e3c9e4a25d095ed8a384efb5a4c58db437c92cca6a81d583791191f1a37691a4a IO-stringy-2.111.tar.gz"