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

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu May 23 07:16:01 EDT 2013


    Date: Thursday, May 23, 2013 @ 13:16:00
  Author: spupykin
Revision: 91523

upgpkg: netcount 0.8i-6

upd

Modified:
  netcount/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-23 11:15:56 UTC (rev 91522)
+++ PKGBUILD	2013-05-23 11:16:00 UTC (rev 91523)
@@ -4,30 +4,33 @@
 
 pkgname=netcount
 pkgver=0.8i
-pkgrel=5
+pkgrel=6
 pkgdesc="network statistic and monitor tools"
 arch=('any')
 url="http://www.hczim.de/software/"
 license=('GPL')
 depends=('python2')
+makedepends=('ppp')
 source=(http://www.hczim.de/software/$pkgname-$pkgver.tar.gz
 	build.patch)
 md5sums=('537d941b6725f17d46b228967b8f6d23'
          '90dc22e9fce2b1a2fbc6899d23debbde')
 
-build() {
+prepare() {
   cd $srcdir/$pkgname-$pkgver
-
   patch -p1 <../build.patch
   echo -e "#!/bin/sh\necho gentoo">distro-detect.sh
+  sed -i 's|sbin|bin|g' Makefile *.in
+}
 
+build() {
+  cd $srcdir/$pkgname-$pkgver
   make files
 }
 
 package() {
   cd $srcdir/$pkgname-$pkgver
 
-  mkdir -p $pkgdir/usr/sbin
   mkdir -p $pkgdir/usr/bin
   mkdir -p $pkgdir/usr/share/man/man1
   mkdir -p $pkgdir/etc/logrotate.d



More information about the arch-commits mailing list