1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00

testing/perl-text-parsewords: new apkbuild

This commit is contained in:
Francesco Colista 2012-01-02 10:52:45 +00:00
parent 2e6de4a1ad
commit 94383f0b14

View file

@ -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"