aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-unicode-string
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-05-22 21:02:32 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-05-22 21:02:32 +0000
commite98ebf556bf0b911185edb1294a9142d293797bb (patch)
tree13226ca54653bc52e3e5c95d406a620434734c02 /testing/perl-unicode-string
parentbe526dacf9796c7de11c4ffd0cabc12973944597 (diff)
downloadaports-e98ebf556bf0b911185edb1294a9142d293797bb.tar.bz2
aports-e98ebf556bf0b911185edb1294a9142d293797bb.tar.xz
testing/perl-unicode-string: new aport
Diffstat (limited to 'testing/perl-unicode-string')
-rw-r--r--testing/perl-unicode-string/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/perl-unicode-string/APKBUILD b/testing/perl-unicode-string/APKBUILD
new file mode 100644
index 0000000000..62f2421cb3
--- /dev/null
+++ b/testing/perl-unicode-string/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=perl-unicode-string
+pkgver=2.09
+pkgrel=0
+pkgdesc="String of Unicode characters for perl (UCS2/UTF16)"
+url="http://search.cpan.org/dist/Unicode-String/"
+arch="all"
+license="PerlArtistic"
+depends="perl"
+depends_dev="perl-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Unicode-String-$pkgver.tar.gz"
+
+_builddir="$srcdir"/Unicode-String-$pkgver
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="553e68e603723bf7c631f8701ab0d678 Unicode-String-2.09.tar.gz"
+sha256sums="c817bedb954ea2d488bade56059028b99e0198f6826482e2f68fd6d78653faad Unicode-String-2.09.tar.gz"
+sha512sums="88bd5fe4a1e8ac05b7da5f75411f3e2cb17fb756ca926ace7f46d047ba7a7f22e54462efb61c2f0bf651d2c63d6fe74bffa8b7bcf49aa59847135a43b5cde759 Unicode-String-2.09.tar.gz"