[arch-commits] CVS update of extra/system/aide (PKGBUILD)

Travis Willard travis at archlinux.org
Sun May 20 20:02:52 UTC 2007


    Date: Sunday, May 20, 2007 @ 16:02:52
  Author: travis
    Path: /home/cvs-extra/extra/system/aide

Modified: PKGBUILD (1.8 -> 1.9)

upgpkg: aide 0.13.1-1
PKGBUILD cleanups and add license


----------+
 PKGBUILD |   29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)


Index: extra/system/aide/PKGBUILD
diff -u extra/system/aide/PKGBUILD:1.8 extra/system/aide/PKGBUILD:1.9
--- extra/system/aide/PKGBUILD:1.8	Wed Apr 25 18:27:31 2007
+++ extra/system/aide/PKGBUILD	Sun May 20 16:02:52 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.8 2007/04/25 22:27:31 andyrtr Exp $
+# $Id: PKGBUILD,v 1.9 2007/05/20 20:02:52 travis Exp $
 # Maintainer: gregor <gregor at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 #
@@ -8,20 +8,25 @@
 pkgver=0.13.1
 pkgrel=1
 pkgdesc="AIDE (Advanced Intrusion Detection Environment) is a file integrity checker"
-arch=(i686 x86_64)
-makedepends=(mhash) # no deps, it's statically linked but needed for compile
-source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
-	aide.conf.default)
+arch=('i686' 'x86_64')
 url="http://www.cs.tut.fi/~rammer/aide.html"
+license=('GPL' 'custom')
+makedepends=('mhash') # no deps, it's statically linked but needed for compile
+source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
+        aide.conf.default)
 md5sums=('27978cc6bca4f0fbf3f6f5a1b330661c' '22e702e54006384d7ef8a5e46a29e758')
 
 build() {
-    cd $startdir/src/$pkgname-$pkgver
-    ./configure --prefix=/usr --sysconfdir=/etc
-    make || return 1
-    make DESTDIR=$startdir/pkg install
+  cd $startdir/src/$pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make || return 1
+  make DESTDIR=$startdir/pkg install
+
+  install -D -m644 $startdir/src/aide.conf.default \
+  $startdir/pkg/etc/aide.conf.archlinux
+  install -D -m644 doc/aide.conf $startdir/pkg/etc/aide.conf.demo
 
-    install -D -m644 $startdir/src/aide.conf.default \
-	    $startdir/pkg/etc/aide.conf.archlinux
-	install -D -m644 doc/aide.conf $startdir/pkg/etc/aide.conf.demo
+  # Install license - GPL + modified artistic license
+  install -D -m644 $startdir/src/$pkgname-$pkgver/LICENSE-snprintf.txt \
+                   $startdir/pkg/usr/share/licenses/$pkgname/LICENSE-snprintf.txt
 }




More information about the arch-commits mailing list