aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-05-22 21:02:16 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-05-22 21:02:16 +0000
commitbe526dacf9796c7de11c4ffd0cabc12973944597 (patch)
tree1e9f9e0898d6a2d73f2797c1acd1ee3545a1ca17
parent5ab44ccdee0bb4ce6a1b5a8de64b5aa0fd48050c (diff)
downloadaports-be526dacf9796c7de11c4ffd0cabc12973944597.tar.bz2
aports-be526dacf9796c7de11c4ffd0cabc12973944597.tar.xz
testing/perl-term-progressbar: new aport
-rw-r--r--testing/perl-term-progressbar/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/perl-term-progressbar/APKBUILD b/testing/perl-term-progressbar/APKBUILD
new file mode 100644
index 0000000000..f6dc901083
--- /dev/null
+++ b/testing/perl-term-progressbar/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=perl-term-progressbar
+pkgver=2.13
+pkgrel=0
+pkgdesc="Perl/CPAN Module Term::ProgressBar : Progress bar in just ASCII using Term"
+url="http://search.cpan.org/dist/Term-ProgressBar"
+arch="all"
+license="GPL"
+depends="perl-class-methodmaker perl-term-readkey perl-capture-tiny perl-test-exception"
+depends_dev="perl-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Term-ProgressBar-$pkgver.tar.gz"
+
+_builddir="$srcdir"/Term-ProgressBar-$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="1247d7f017c1d82d1610f27573ef029e Term-ProgressBar-2.13.tar.gz"
+sha256sums="95a56e1529928b7a0d7adf5bc2f54b9b9ae9da58c43b519af74a1e6596209b3c Term-ProgressBar-2.13.tar.gz"
+sha512sums="4f97a3a5342180cd2b5e9bb425d6f46926dccd17badd4b54eefcf47065a602aad11aac9223b6215903a20f34fae7fbff401a6e10ca2db1c70191250f469da7b1 Term-ProgressBar-2.13.tar.gz"