[arch-commits] Commit in ipv6calc/trunk (PKGBUILD)
Baptiste Jonglez
zorun at archlinux.org
Mon May 22 07:26:25 UTC 2017
Date: Monday, May 22, 2017 @ 07:26:25
Author: zorun
Revision: 228958
upgpkg: ipv6calc 0.99.2-2
Use PGP signature and add tests
Modified:
ipv6calc/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-22 07:14:44 UTC (rev 228957)
+++ PKGBUILD 2017-05-22 07:26:25 UTC (rev 228958)
@@ -3,7 +3,7 @@
pkgname=ipv6calc
pkgver=0.99.2
-pkgrel=1
+pkgrel=2
pkgdesc='Small utility to manipulate, convert and calculate (more than) IPv6 addresses'
url='https://www.deepspace6.net/projects/ipv6calc.html'
license=('GPL2')
@@ -12,8 +12,13 @@
makedepends=('geoip')
optdepends=('geoip: for country GeoIP support'
'geoip-database-extra: for city-level GeoIP support')
-source=("https://github.com/pbiering/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('f2eeec1b8d8626756f2cb9c461e9d1db20affccf582d43ded439bdb2d12646ef')
+checkdepends=('perl-digest-sha1' 'perl-uri' 'perl-html-parser')
+source=("ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/${pkgname}-${pkgver}.tar.gz"{,.asc}
+ "ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/CODE-GPG-KEY-bieringer.de-2013")
+sha256sums=('f2eeec1b8d8626756f2cb9c461e9d1db20affccf582d43ded439bdb2d12646ef'
+ 'SKIP'
+ '5499fe16d94c686d0c220b55592e129dca79741b96fa5b5cf2b4e872956e4801')
+validpgpkeys=('AAB38CB797C750C778C608C6DDEB141DF7380F61') # Peter Bieringer (Code Signing Key 2013) <code at bieringer.de>
prepare() {
cd "${pkgname}-${pkgver}"
@@ -35,6 +40,12 @@
make
}
+check() {
+ cd "${pkgname}-${pkgver}"
+
+ make test-minimal
+}
+
package() {
cd "${pkgname}-${pkgver}"
More information about the arch-commits
mailing list