diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-07 15:00:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-07 15:02:25 +0000 |
commit | 865fdb4dd3ee82b4930af7707486229aa4ee8283 (patch) | |
tree | 5315cf951434f65eee3a49b35c79fd78d9203151 /community | |
parent | 6bd986c913599c345c369ae148d99c17bc024cf8 (diff) | |
download | aports-865fdb4dd3ee82b4930af7707486229aa4ee8283.tar.bz2 aports-865fdb4dd3ee82b4930af7707486229aa4ee8283.tar.xz |
community/perl-term-progressbar: upgrade to 2.18
Diffstat (limited to 'community')
-rw-r--r-- | community/perl-term-progressbar/APKBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/community/perl-term-progressbar/APKBUILD b/community/perl-term-progressbar/APKBUILD index 6cfcb5ecff..236020adf6 100644 --- a/community/perl-term-progressbar/APKBUILD +++ b/community/perl-term-progressbar/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-term-progressbar -pkgver=2.17 +pkgver=2.18 pkgrel=0 pkgdesc="Perl/CPAN Module Term::ProgressBar : Progress bar in just ASCII using Term" url="http://search.cpan.org/dist/Term-ProgressBar" @@ -12,12 +12,12 @@ 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" +source="http://search.cpan.org/CPAN/authors/id/M/MA/MANWAR/Term-ProgressBar-$pkgver.tar.gz" -_builddir="$srcdir"/Term-ProgressBar-$pkgver +builddir="$srcdir"/Term-ProgressBar-$pkgver prepare() { local i - cd "$_builddir" + cd "$builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -26,17 +26,20 @@ prepare() { } build() { - cd "$_builddir" + cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 } +check() { + cd "$builddir" + make test +} + package() { - cd "$_builddir" + 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" +sha512sums="9483dfb546cf333fb03c4ea6f8d961ef67710036cfc913b1fda483cfcb05fd06161d427350d432acb178069772a8238ec1f5c429b2970cdc80f41d8105f0a8c8 Term-ProgressBar-2.18.tar.gz" |