[arch-commits] Commit in smokeping/trunk (PKGBUILD)

Florian Pritz bluewind at archlinux.org
Sat Jan 25 11:34:51 UTC 2020


    Date: Saturday, January 25, 2020 @ 11:34:50
  Author: bluewind
Revision: 555419

Switch to dist tarballs

These contain a patched VERSION variable with the correct version number. This
number is shown on the webpage and potentially used as a dependency by other
perl code.

upgpkg: smokeping 2.7.3-3

Modified:
  smokeping/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-25 10:58:37 UTC (rev 555418)
+++ PKGBUILD	2020-01-25 11:34:50 UTC (rev 555419)
@@ -3,7 +3,7 @@
 
 pkgname=smokeping
 pkgver=2.7.3
-pkgrel=2
+pkgrel=3
 pkgdesc="A tool to keep track of your network latency"
 arch=('any')
 url="https://oss.oetiker.ch/smokeping/"
@@ -10,22 +10,22 @@
 license=('GPL2')
 depends=('perl-config-grammar' 'perl-digest-hmac' 'perl-libwww' 'rrdtool' 'perl-fcgi' 'perl-cgi-fast'
          'perl-io-tty' 'perl-net-dns' 'perl-net-snmp' 'perl-net-telnet' 'perl-ldap' 'perl-net-openssh')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/oetiker/SmokePing/archive/$pkgver.tar.gz"
+source=("${pkgname}_release-$pkgver.tar.gz::https://github.com/oetiker/SmokePing/releases/download/$pkgver/smokeping-$pkgver.tar.gz"
         smokeping.sysusers
         smokeping.tmpfiles
         service)
-sha256sums=('6bd90e9a9c44a03789519cf21bd2c977476f0c11267fd55f7d14015f92b93a05'
+sha256sums=('430fd58030a494068a897f772c052fc0979ebdd38d1859a03820e098628d36b4'
             'ab3b399f58118fc31fac5f627814bbb3b1d7752dd3b4fed2d6b7ee58f24fbd2e'
             'afd3196804a120866e8e5f207f177c96fd64b36c974888d8287fba3c216b1583'
             '4691650aed6c7341bf3a898f63c8ad03f2453d4ce9874e83f24ced5ee21317d9')
 
 build() {
-  cd "$srcdir"/SmokePing-${pkgver}
+  cd "$srcdir"/smokeping-${pkgver}
 
-  ./bootstrap
   ./configure --prefix=/usr --sysconfdir=/etc/smokeping --with-htdocs-dir=/srv/http/smokeping
 
   # prevent the build system from packaging CPAN deps
+  rm -rf thirdparty/CPAN
   mkdir thirdparty/CPAN
   touch thirdparty/touch thirdparty/CPAN/touch
 
@@ -33,7 +33,7 @@
 }
 
 package() {
-  cd "$srcdir"/SmokePing-${pkgver}
+  cd "$srcdir"/smokeping-${pkgver}
 
   # We package CPAN modules separately
   rm -rf thirdparty/lib/perl5



More information about the arch-commits mailing list