summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a524b4d4377..a5d61b1863f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
pkgbase = pktstat
pkgdesc = Real-time interface traffic viewer for curses.
pkgver = 1.8.5
- pkgrel = 2
+ pkgrel = 3
url = http://www.adaptive-enterprises.com.au/~d/software/pktstat/
arch = i686
arch = x86_64
- license = Public Domain
- depends = ncurses
+ license = custom
depends = libpcap
source = http://ftp.ussg.iu.edu/linux/gentoo/distfiles/pktstat-1.8.5.tar.gz
md5sums = 0f387f86567eb3da1c329f7b182c3355
diff --git a/PKGBUILD b/PKGBUILD
index 06cf62fdfc6..e693c699680 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,13 @@
pkgname=pktstat
pkgver=1.8.5
-pkgrel=2
+pkgrel=3
pkgdesc="Real-time interface traffic viewer for curses."
arch=(i686 x86_64)
url="http://www.adaptive-enterprises.com.au/~d/software/pktstat/"
-license=('Public Domain')
-depends=('ncurses' 'libpcap')
+license=('custom')
+# ncurses is ultimately required by libpcap
+depends=('libpcap')
source=("http://ftp.ussg.iu.edu/linux/gentoo/distfiles/${pkgname}-${pkgver}.tar.gz")
md5sums=('0f387f86567eb3da1c329f7b182c3355')
sha256sums=('140b07120eb48f139d588f0d8db792a91227fc7d6e690f0fcad1328dfcafd2c9')
@@ -22,6 +23,7 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
+ install -Dm0644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
# vim:set ts=2 sw=2 et: