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:
parent
2e6de4a1ad
commit
94383f0b14
1 changed files with 8 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue