[arch-commits] Commit in netwatch/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 22:08:44 UTC 2015


    Date: Monday, September 7, 2015 @ 00:08:43
  Author: foutrelis
Revision: 139396

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  netwatch/repos/community-staging-i686/
  netwatch/repos/community-staging-i686/PKGBUILD
    (from rev 139395, netwatch/trunk/PKGBUILD)
  netwatch/repos/community-staging-x86_64/
  netwatch/repos/community-staging-x86_64/PKGBUILD
    (from rev 139395, netwatch/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   32 ++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: netwatch/repos/community-staging-i686/PKGBUILD (from rev 139395, netwatch/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-06 22:08:43 UTC (rev 139396)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=netwatch
+pkgver=1.3.0
+pkgrel=5
+pkgdesc="monitor network connections"
+arch=(i686 x86_64)
+url="http://www.slctech.org/~mackay/NETWATCH/netwatch.html"
+license=('GPL')
+options=(zipman)
+depends=(ncurses)
+source=(http://www.slctech.org/~mackay/NETWATCH/netwatch-$pkgver-1.tgz)
+md5sums=('9168c20c1984e9d126d1a0ec1eb0c1d3')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i 's|${CC-cc} |${CC-cc} -O2 |g' configure
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  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
+}

Copied: netwatch/repos/community-staging-x86_64/PKGBUILD (from rev 139395, netwatch/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-06 22:08:43 UTC (rev 139396)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=netwatch
+pkgver=1.3.0
+pkgrel=5
+pkgdesc="monitor network connections"
+arch=(i686 x86_64)
+url="http://www.slctech.org/~mackay/NETWATCH/netwatch.html"
+license=('GPL')
+options=(zipman)
+depends=(ncurses)
+source=(http://www.slctech.org/~mackay/NETWATCH/netwatch-$pkgver-1.tgz)
+md5sums=('9168c20c1984e9d126d1a0ec1eb0c1d3')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i 's|${CC-cc} |${CC-cc} -O2 |g' configure
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  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