summaryrefslogtreecommitdiffstats
path: root/testing/perl-text-parsewords/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-text-parsewords/APKBUILD')
-rw-r--r--testing/perl-text-parsewords/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/testing/perl-text-parsewords/APKBUILD b/testing/perl-text-parsewords/APKBUILD
index 1cf487f19..28a6dcd47 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"