summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraham Edgecombe2013-12-15 23:53:50 +0000
committerGraham Edgecombe2013-12-15 23:53:50 +0000
commitc9824b663ed766608d7c37d09eee7fcfbfe9275c (patch)
treeb9b87a5bccf7d96ad0a98f60cb367d976a174ba0
parente7b786b6e4a1807b0fe3fe70a7c05bd15722dfef (diff)
downloadaur-c9824b663ed766608d7c37d09eee7fcfbfe9275c.tar.gz
Fix license (it is actually BSD, not GPL.)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 816f68c4154a..557c1d4b4354 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,7 @@ pkgbase = netkit-rwho-debian
install = rwhod.install
arch = i686
arch = x86_64
- license = GPL
+ license = BSD
depends = glibc
depends = sh
optdepends = cron: to periodically delete old /var/spool/rwho files
diff --git a/PKGBUILD b/PKGBUILD
index 42802f2180e8..d0968749ab1a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgver=0.17
pkgrel=3
_debrev=13
arch=('i686' 'x86_64')
-license=('GPL')
+license=('BSD')
pkgdesc="Remote who"
depends=('glibc' 'sh')
optdepends=('cron: to periodically delete old /var/spool/rwho files'
@@ -44,6 +44,7 @@ package() {
mv $pkgdir/usr/sbin/rwhod $pkgdir/usr/bin
rmdir $pkgdir/usr/sbin
+ install -Dm644 $srcdir/debian/copyright $pkgdir/usr/share/licenses/$pkgname/LICENSE
install -Dm644 $srcdir/rwhod.conf $pkgdir/etc/conf.d/rwhod
install -Dm644 $srcdir/rwhod.service $pkgdir/usr/lib/systemd/system/rwhod.service
install -D $srcdir/rwhod.cron $pkgdir/etc/cron.monthly/rwhod