[arch-commits] Commit in pppusage/repos/community-any (4 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon Jun 16 10:30:59 UTC 2014


    Date: Monday, June 16, 2014 @ 12:30:59
  Author: spupykin
Revision: 113214

archrelease: copy trunk to community-any

Added:
  pppusage/repos/community-any/PKGBUILD
    (from rev 113213, pppusage/trunk/PKGBUILD)
  pppusage/repos/community-any/build-fix.patch
    (from rev 113213, pppusage/trunk/build-fix.patch)
Deleted:
  pppusage/repos/community-any/PKGBUILD
  pppusage/repos/community-any/build-fix.patch

-----------------+
 PKGBUILD        |   63 ++++++++++++++++++++++++++++--------------------------
 build-fix.patch |   24 ++++++++++----------
 2 files changed, 45 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-16 10:30:50 UTC (rev 113213)
+++ PKGBUILD	2014-06-16 10:30:59 UTC (rev 113214)
@@ -1,30 +0,0 @@
-# $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=5
-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=(http://arch.p5n.pp.ru/~sergej/dl/2012/pppusage-$pkgver.tar.gz
-        build-fix.patch)
-md5sums=('7cf370d5b147ff084025234c43d01a45'
-         '5f970f87088c767e3264b118f256b084')
-
-build() {
-  cd $srcdir/pppusage-$pkgver
-  patch -Np1 <../build-fix.patch
-  perl Makefile.PL
-  make
-  make DESTDIR=$pkgdir install
-  rm $pkgdir/usr/lib/perl5/core_perl/perllocal.pod
-  find $pkgdir -name '.packlist' -exec rm {} \;
-}
-

Copied: pppusage/repos/community-any/PKGBUILD (from rev 113213, pppusage/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-06-16 10:30:59 UTC (rev 113214)
@@ -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=6
+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=(http://arch.p5n.pp.ru/~sergej/dl/2012/pppusage-$pkgver.tar.gz
+        build-fix.patch)
+md5sums=('7cf370d5b147ff084025234c43d01a45'
+         '5f970f87088c767e3264b118f256b084')
+
+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 {} \;
+}

Deleted: build-fix.patch
===================================================================
--- build-fix.patch	2014-06-16 10:30:50 UTC (rev 113213)
+++ build-fix.patch	2014-06-16 10:30:59 UTC (rev 113214)
@@ -1,12 +0,0 @@
-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

Copied: pppusage/repos/community-any/build-fix.patch (from rev 113213, pppusage/trunk/build-fix.patch)
===================================================================
--- build-fix.patch	                        (rev 0)
+++ build-fix.patch	2014-06-16 10:30:59 UTC (rev 113214)
@@ -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