[arch-commits] Commit in perl-net-ip/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Nov 8 12:56:58 UTC 2018
Date: Thursday, November 8, 2018 @ 12:56:57
Author: felixonmars
Revision: 338377
update source and format
Modified:
perl-net-ip/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-08 12:55:46 UTC (rev 338376)
+++ PKGBUILD 2018-11-08 12:56:57 UTC (rev 338377)
@@ -8,25 +8,24 @@
pkgdesc="Perl Module: Easy manipulation of IPv4 and IPv6 addresses"
arch=('any')
license=('PerlArtistic')
-url="http://search.cpan.org/dist/${_realname}/"
+url="http://search.cpan.org/dist/Net-IP/"
depends=('perl')
options=(!emptydirs)
-source=(http://www.cpan.org/authors/id/M/MA/MANU/${_realname}-${pkgver}.tar.gz)
+source=("https://www.cpan.org/authors/id/M/MA/MANU/Net-IP-$pkgver.tar.gz")
md5sums=('3a98e3ac45d69ea38a63a7e678bd716d')
build() {
- cd "${srcdir}/${_realname}-${pkgver}"
- # install module in vendor directories.
+ cd Net-IP-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "${srcdir}/${_realname}-${pkgver}"
+ cd Net-IP-$pkgver
make test
}
package() {
- cd "${srcdir}/${_realname}-${pkgver}"
- make install DESTDIR="${pkgdir}"
+ cd Net-IP-$pkgver
+ make install DESTDIR="$pkgdir"
}
More information about the arch-commits
mailing list