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

Sergej Pupykin spupykin at archlinux.org
Tue Mar 15 10:31:46 UTC 2016


    Date: Tuesday, March 15, 2016 @ 11:31:46
  Author: spupykin
Revision: 166808

upgpkg: netwatch 1.3.1_2-1

upd

Modified:
  netwatch/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-15 10:24:51 UTC (rev 166807)
+++ PKGBUILD	2016-03-15 10:31:46 UTC (rev 166808)
@@ -2,8 +2,8 @@
 # Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
 
 pkgname=netwatch
-pkgver=1.3.0
-pkgrel=5
+pkgver=1.3.1_2
+pkgrel=1
 pkgdesc="monitor network connections"
 arch=(i686 x86_64)
 url="http://www.slctech.org/~mackay/NETWATCH/netwatch.html"
@@ -10,22 +10,22 @@
 license=('GPL')
 options=(zipman)
 depends=(ncurses)
-source=(http://www.slctech.org/~mackay/NETWATCH/netwatch-$pkgver-1.tgz)
-md5sums=('9168c20c1984e9d126d1a0ec1eb0c1d3')
+source=(http://www.slctech.org/~mackay/NETWATCH/netwatch-${pkgver/_/-}.tgz)
+md5sums=('6147b0235207912ca941a4e45c9cee14')
 
 prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname-${pkgver/_/-}"
   sed -i 's|${CC-cc} |${CC-cc} -O2 |g' configure
 }
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname-${pkgver/_/-}"
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname-${pkgver/_/-}"
   install -D -m0755 netwatch $pkgdir/usr/bin/netwatch
   install -D -m0755 netresolv $pkgdir/usr/bin/netresolv
   install -D -m0644 netwatch.1 $pkgdir/usr/share/man/man1/netwatch.1



More information about the arch-commits mailing list