[arch-commits] Commit in smokeping/trunk (PKGBUILD)
Florian Pritz
bluewind at gemini.archlinux.org
Sun Aug 15 09:10:22 UTC 2021
Date: Sunday, August 15, 2021 @ 09:10:22
Author: bluewind
Revision: 998696
upgpkg: smokeping 2.8.2-1: upstream update
Modified:
smokeping/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-15 08:42:49 UTC (rev 998695)
+++ PKGBUILD 2021-08-15 09:10:22 UTC (rev 998696)
@@ -2,8 +2,8 @@
# Contributor: Christos Nouskas nous <nous at archlinux.us>
pkgname=smokeping
-pkgver=2.7.3
-pkgrel=3
+pkgver=2.8.2
+pkgrel=1
pkgdesc="A tool to keep track of your network latency"
arch=('any')
url="https://oss.oetiker.ch/smokeping/"
@@ -14,7 +14,7 @@
smokeping.sysusers
smokeping.tmpfiles
service)
-sha256sums=('430fd58030a494068a897f772c052fc0979ebdd38d1859a03820e098628d36b4'
+sha256sums=('29e61118b455e23b969ada5f8e2ab432d3e2ef87d4afe2c86de4a03d7188b6ea'
'ab3b399f58118fc31fac5f627814bbb3b1d7752dd3b4fed2d6b7ee58f24fbd2e'
'afd3196804a120866e8e5f207f177c96fd64b36c974888d8287fba3c216b1583'
'4691650aed6c7341bf3a898f63c8ad03f2453d4ce9874e83f24ced5ee21317d9')
@@ -27,6 +27,7 @@
# prevent the build system from packaging CPAN deps
rm -rf thirdparty/CPAN
mkdir thirdparty/CPAN
+ touch cpanfile "thirdparty/cpanfile-$(perl -MConfig -e 'my $v =$Config{version}; $v =~ s/.\d+$//;print $v;').snapshot"
touch thirdparty/touch thirdparty/CPAN/touch
make
@@ -36,10 +37,12 @@
cd "$srcdir"/smokeping-${pkgver}
# We package CPAN modules separately
- rm -rf thirdparty/lib/perl5
+ mkdir -p thirdparty/lib/perl5/removeme
make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir/usr/lib/removeme"
+
install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/smokeping.service"
install -Dm644 "$srcdir/smokeping.sysusers" "$pkgdir/usr/lib/sysusers.d/smokeping.conf"
install -Dm644 "$srcdir/smokeping.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/smokeping.conf"
More information about the arch-commits
mailing list