[arch-commits] Commit in pppusage/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 11:40:34 UTC 2019
Date: Saturday, May 25, 2019 @ 11:40:33
Author: felixonmars
Revision: 470419
archrelease: copy trunk to community-staging-any
Added:
pppusage/repos/community-staging-any/
pppusage/repos/community-staging-any/PKGBUILD
(from rev 470417, pppusage/trunk/PKGBUILD)
pppusage/repos/community-staging-any/build-fix.patch
(from rev 470417, pppusage/trunk/build-fix.patch)
-----------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
build-fix.patch | 12 ++++++++++++
2 files changed, 44 insertions(+)
Copied: pppusage/repos/community-staging-any/PKGBUILD (from rev 470417, pppusage/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 11:40:33 UTC (rev 470419)
@@ -0,0 +1,32 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=pppusage
+pkgver=0.2.5
+pkgrel=10
+pkgdesc="Utility to monitor pppd connections"
+arch=(any)
+url="https://www.jhweiss.de/software/pppusage.html"
+license=("GPL")
+depends=(perl ppp cron)
+makedepends=()
+backup=(etc/pppusagerc)
+#source=(ftp://ftp.jhweiss.de/pub/users/weiss/pppusage/pppusage-$pkgver.tar.gz
+source=(https://arch.p5n.pp.ru/~sergej/dl/2012/pppusage-$pkgver.tar.gz
+ build-fix.patch)
+sha256sums=('24d0390671ba000ddae2cc56b62064fcc55d5868693c46b116244de6c01233b8'
+ '71918a98d4ff834437eed110ea81215ddf04d18bdce2939c2170148ba29f086e')
+
+build() {
+ cd "$srcdir"/pppusage-$pkgver
+ patch -Np1 <../build-fix.patch
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/pppusage-$pkgver
+ make DESTDIR="$pkgdir" install
+ rm "$pkgdir"/usr/lib/perl5/*/core_perl/perllocal.pod
+ find "$pkgdir" -name '.packlist' -exec rm {} \;
+}
Copied: pppusage/repos/community-staging-any/build-fix.patch (from rev 470417, pppusage/trunk/build-fix.patch)
===================================================================
--- community-staging-any/build-fix.patch (rev 0)
+++ community-staging-any/build-fix.patch 2019-05-25 11:40:33 UTC (rev 470419)
@@ -0,0 +1,12 @@
+diff -wbBur pppusage-0.2.5/Makefile.PL pppusage-0.2.5.my/Makefile.PL
+--- pppusage-0.2.5/Makefile.PL 2003-12-20 00:56:32.000000000 +0300
++++ pppusage-0.2.5.my/Makefile.PL 2007-01-19 18:27:14.000000000 +0300
+@@ -107,7 +107,7 @@
+ bin/pppusage.raw > bin/pppusage
+
+ inst_conf: etc/pppusagerc
+- test -f $(SYSCONFDIR)/pppusagerc || cp etc/pppusagerc $(SYSCONFDIR)/
++ test -f $(SYSCONFDIR)/pppusagerc || install -D -m0644 etc/pppusagerc $(DESTDIR)$(SYSCONFDIR)/pppusagerc
+
+ clean_bin:
+ rm -f bin/pppusage
More information about the arch-commits
mailing list