aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-socket/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-05-07 14:24:21 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-05-07 14:24:21 +0000
commite402953b342b1bb0845a9425ba6ad5e916f06f59 (patch)
tree5dcf379599e897735bc3a6b5f8b8784f8519548b /main/perl-socket/APKBUILD
parenta2a5e21679b95a3e23f12cf0f7b50b95731a9056 (diff)
downloadaports-e402953b342b1bb0845a9425ba6ad5e916f06f59.tar.bz2
aports-e402953b342b1bb0845a9425ba6ad5e916f06f59.tar.xz
main/perl-socket: upgrade to 2.027, added check():x
Diffstat (limited to 'main/perl-socket/APKBUILD')
-rw-r--r--main/perl-socket/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/main/perl-socket/APKBUILD b/main/perl-socket/APKBUILD
index 3465086053..ce84955f3b 100644
--- a/main/perl-socket/APKBUILD
+++ b/main/perl-socket/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-socket
_pkgreal=Socket
-pkgver=2.024
-pkgrel=2
+pkgver=2.027
+pkgrel=0
pkgdesc="networking constants and support functions"
url="http://search.cpan.org/dist/Socket/"
arch="all"
@@ -25,10 +25,14 @@ prepare() {
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- #FIXME: fail
- make #&& make test
+ make
}
+check() {
+ cd "$builddir"
+ make test
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
@@ -40,6 +44,4 @@ doc() {
replaces="perl-doc"
}
-md5sums="63e3c6a92e9d21ecb2d0f105a2f6be5a Socket-2.024.tar.gz"
-sha256sums="38d58dcd84ca480615ba5f45a82b97b3c4cc3b7e7b27323e68adbe6daf455e12 Socket-2.024.tar.gz"
-sha512sums="8a7b3a851e81459ca32382eecf517d456c7355998b9be7f15f753ce4b7c7d0fa9e95078d9ecb2beb074434ba674ef0014ec43380dbcc7c257b841a1ee20f0743 Socket-2.024.tar.gz"
+sha512sums="f9a016ec3ecce4f7a75ce1630c05df15b774846e1de2dbbddaeb6b5f03665ff798e1a55a180b0ea83968b6f225ff857522593f570ac8c16c3a855b73be7881de Socket-2.027.tar.gz"