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

Dieter Plaetinck dieter at archlinux.org
Thu Apr 9 15:31:14 EDT 2009


    Date: Thursday, April 9, 2009 @ 15:31:14
  Author: dieter
Revision: 34494

upgpkg: aif 2009.04.08-1
    new maintainer and package for aif. bump to 2009.03.29 version

Modified:
  aif/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-09 18:42:15 UTC (rev 34493)
+++ PKGBUILD	2009-04-09 19:31:14 UTC (rev 34494)
@@ -1,9 +1,8 @@
 # $Id$
-# Maintainer: Aaron Griffin <aaron at archlinux.org>
-# Contributor: Dieter Plaetinck <dieter at plaetinck.be>
+# Maintainer: Dieter Plaetinck <dieter at plaetinck.be>
 
 pkgname=aif
-pkgver=2009.01.24
+pkgver=2009.04.08
 pkgrel=1
 pkgdesc="The ArchLinux Installation Framework"
 arch=('i686' 'x86_64')
@@ -11,17 +10,27 @@
 license=('GPL3')
 depends=('bash' 'pacman')
 source=(http://ftp.archlinux.org/other/aif/aif-$pkgver.tar.gz)
+md5sums=('131ae0e32743eb80708074ebd7104b30')
 
 build() {
 
   cd $srcdir/aif-$pkgver/
   
-  install -D -m755 src/aif.sh  $pkgdir/arch/aif
+  install -d $pkgdir/sbin
+  install -d $pkgdir/usr/share/aif/docs
+  install -d $pkgdir/usr/share/aif/examples
+  install -d $pkgdir/usr/lib/aif/core
+  install -d $pkgdir/usr/lib/aif/user
+  install -D -m755 src/aif.sh $pkgdir/sbin/aif
+  install -D -m644 HOWTO $pkgdir/usr/share/aif/docs
+  install -D -m644 README $pkgdir/usr/share/aif/docs
+  cp -rp src/core $pkgdir/usr/lib/aif
+  chmod -R 755 $pkgdir/usr/lib/aif/core
+  cp -rp src/user $pkgdir/usr/lib/aif  
+  chmod -R 755 $pkgdir/usr/lib/aif/user
+  cp -rp examples $pkgdir/usr/share/aif
+  chmod -R 755 $pkgdir/usr/share/aif/examples
 
-  mkdir -p $pkgdir/home/arch/aif/docs
-  cp -r HOWTO README $pkgdir/home/arch/aif/docs
-  cp -r src/{core,user,runtime}     $pkgdir/home/arch/aif/
-  find $pkgdir/home/arch/aif -type f -exec chmod 644 {} \;
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list