From 94383f0b14b6c667ca5d92aaad43a56a384667a9 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Mon, 2 Jan 2012 10:52:45 +0000 Subject: testing/perl-text-parsewords: new apkbuild --- testing/perl-text-parsewords/APKBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/testing/perl-text-parsewords/APKBUILD b/testing/perl-text-parsewords/APKBUILD index 1cf487f19a..28a6dcd475 100644 --- a/testing/perl-text-parsewords/APKBUILD +++ b/testing/perl-text-parsewords/APKBUILD @@ -14,7 +14,7 @@ cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/$_pkgreal-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/$_pkgreal-$pkgver.zip" _builddir="$srcdir/$_pkgreal-$pkgver" @@ -28,10 +28,15 @@ prepare() { } build() { - : + cd "$_builddir" + make && make test } package() { - : + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } + +md5sums="620fee5eece9b8d4a7a68e91fe617097 Text-ParseWords-3.27.zip" -- cgit v1.2.3