diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-01-02 10:52:45 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-01-02 10:52:45 +0000 |
commit | 94383f0b14b6c667ca5d92aaad43a56a384667a9 (patch) | |
tree | f3ff07e791a09784d4a3ddd2bb07e76ce3eb0e1a /testing | |
parent | 2e6de4a1ad0390d0d2405759e81c48f6fb604f5d (diff) | |
download | aports-94383f0b14b6c667ca5d92aaad43a56a384667a9.tar.bz2 aports-94383f0b14b6c667ca5d92aaad43a56a384667a9.tar.xz |
testing/perl-text-parsewords: new apkbuild
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-text-parsewords/APKBUILD | 11 |
1 files 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" |