[arch-commits] Commit in pppusage/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 12:26:09 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:26:09
Author: foutrelis
Revision: 366787
archrelease: copy trunk to community-staging-any
Added:
pppusage/repos/community-staging-any/
pppusage/repos/community-staging-any/PKGBUILD
(from rev 366785, pppusage/trunk/PKGBUILD)
pppusage/repos/community-staging-any/build-fix.patch
(from rev 366785, pppusage/trunk/build-fix.patch)
-----------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
build-fix.patch | 12 ++++++++++++
2 files changed, 45 insertions(+)
Copied: pppusage/repos/community-staging-any/PKGBUILD (from rev 366785, pppusage/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 12:26:09 UTC (rev 366787)
@@ -0,0 +1,33 @@
+# $Id$
+# 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=9
+pkgdesc="Utility to monitor pppd connections"
+arch=(any)
+url="http://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 366785, pppusage/trunk/build-fix.patch)
===================================================================
--- community-staging-any/build-fix.patch (rev 0)
+++ community-staging-any/build-fix.patch 2018-08-01 12:26:09 UTC (rev 366787)
@@ -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