diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 07:12:59 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 07:12:59 +0000 |
commit | 586828830a349a6c1ee486a5b6a39314158ee8b0 (patch) | |
tree | a8e70c8af09479e34b5976043bcbb27299d88377 /community/perl-term-progressbar | |
parent | dfc90fe1f7167f5177929682483af4575ea4108f (diff) | |
download | aports-586828830a349a6c1ee486a5b6a39314158ee8b0.tar.bz2 aports-586828830a349a6c1ee486a5b6a39314158ee8b0.tar.xz |
community/perl-term-progressbar: upgrade to 2.17, moved from testing
Diffstat (limited to 'community/perl-term-progressbar')
-rw-r--r-- | community/perl-term-progressbar/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community/perl-term-progressbar/APKBUILD b/community/perl-term-progressbar/APKBUILD new file mode 100644 index 0000000000..6cfcb5ecff --- /dev/null +++ b/community/perl-term-progressbar/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-term-progressbar +pkgver=2.17 +pkgrel=0 +pkgdesc="Perl/CPAN Module Term::ProgressBar : Progress bar in just ASCII using Term" +url="http://search.cpan.org/dist/Term-ProgressBar" +arch="noarch" +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="27701b5cf9fb025ffd979a708c489efa Term-ProgressBar-2.17.tar.gz" +sha256sums="c1e0602c738a91fe54b01bcaa0d1a898b07ef6815c55eb2ebd6da4e3be20f696 Term-ProgressBar-2.17.tar.gz" +sha512sums="876490e3158b76aca4d118c03fc7984e1801cda620f23369083edbb4647b134b49eaca427ef790f2cf98a7786055ae777359484b102f1868a6641cc5bdb36d2c Term-ProgressBar-2.17.tar.gz" |