aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-lingua-translit/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-05-25 06:28:03 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-05-25 08:13:49 +0000
commita16fe2aa5beb4c9d5d2bc6f73191a9cbde8e2d84 (patch)
treeb554cedeb80574f66afc2cf0b24066a1a2b1faa2 /community/perl-lingua-translit/APKBUILD
parente969cdb09f88c044f85cde2470700606a966b491 (diff)
downloadaports-a16fe2aa5beb4c9d5d2bc6f73191a9cbde8e2d84.tar.gz
aports-a16fe2aa5beb4c9d5d2bc6f73191a9cbde8e2d84.tar.bz2
aports-a16fe2aa5beb4c9d5d2bc6f73191a9cbde8e2d84.tar.xz
community/perl-lingua-translit: upgrade to 0.27, added check() function
Diffstat (limited to 'community/perl-lingua-translit/APKBUILD')
-rw-r--r--community/perl-lingua-translit/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/perl-lingua-translit/APKBUILD b/community/perl-lingua-translit/APKBUILD
index 4b3da1cb7d..3ff4806a52 100644
--- a/community/perl-lingua-translit/APKBUILD
+++ b/community/perl-lingua-translit/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-lingua-translit
_pkgreal=Lingua-Translit
-pkgver=0.26
+pkgver=0.27
pkgrel=0
pkgdesc="transliterates text between writing systems"
url="http://search.cpan.org/dist/Lingua-Translit/"
@@ -17,6 +17,11 @@ subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AL/ALINKE/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
+check() {
+ cd "$builddir"
+ make test
+}
+
prepare() {
default_prepare || return 1
@@ -28,7 +33,7 @@ prepare() {
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make && make test
+ make
}
package() {
@@ -37,6 +42,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="fa13fd95053cafd590fef213477196d7 Lingua-Translit-0.26.tar.gz"
-sha256sums="2430b5c84927f15570533eb68c56958c580f16044fc413d48bf44f0460422598 Lingua-Translit-0.26.tar.gz"
-sha512sums="33db0a60d8f60328f958bfa9e313d985b54c79a4556e9a5dba695ac4afea7d1148a2b6225dbcc626b56214ba01e04ee53418b712e3d20738e84baa2287874f48 Lingua-Translit-0.26.tar.gz"
+sha512sums="a42aa61cc5e08d0358a7f5b72b5bf2a10938124ae49e693c6720ef8793b5afe653cc13cc4e7f3132427d3e9a0b87c6e95f7e083b23c044f478c43ac6bae7d2ba Lingua-Translit-0.27.tar.gz"