main/perl-socket: upgrade to 2.027, added check():x

This commit is contained in:
Francesco Colista 2018-05-07 14:24:21 +00:00
parent a2a5e21679
commit e402953b34

View File

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