[arch-commits] Commit in abs/trunk (PKGBUILD abs.install)

Allan McRae allan at archlinux.org
Mon Aug 8 04:45:57 UTC 2011


    Date: Monday, August 8, 2011 @ 00:45:57
  Author: allan
Revision: 134858

upgpkg: abs 2.4.3-1
upstream update

Modified:
  abs/trunk/PKGBUILD
Deleted:
  abs/trunk/abs.install

-------------+
 PKGBUILD    |    9 ++++-----
 abs.install |   12 ------------
 2 files changed, 4 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-08 03:29:07 UTC (rev 134857)
+++ PKGBUILD	2011-08-08 04:45:57 UTC (rev 134858)
@@ -2,7 +2,7 @@
 # Maintainer: Allan McRae <allan at archlinux.org>
 
 pkgname=abs
-pkgver=2.4.2
+pkgver=2.4.3
 pkgrel=1
 pkgdesc="Utilities to download and work with the Arch Build System (ABS)"
 arch=('i686' 'x86_64')
@@ -10,15 +10,14 @@
 license=('GPL')
 depends=('bash' 'rsync')
 backup=(etc/abs.conf)
-install=abs.install
 source=(ftp://ftp.archlinux.org/other/abs/${pkgname}-${pkgver}.tar.gz)
-md5sums=('7be7cfc67443cff62e20f27ca57dc17a')
+md5sums=('b8b46b22d2f9a2aec2c994ccf230b4fd')
 
 build() {
   cd ${srcdir}/${pkgname}
 
-  make CONFDIR=/etc/
-  make CONFDIR=/etc/ DESTDIR=${pkgdir} install
+  make prefix=/usr sysconfdir=/etc prepare
+  make DESTDIR=${pkgdir} install
 
   # Add readme file, and make base /var/abs path
   install -dm0755 ${pkgdir}/var/abs/local/

Deleted: abs.install
===================================================================
--- abs.install	2011-08-08 03:29:07 UTC (rev 134857)
+++ abs.install	2011-08-08 04:45:57 UTC (rev 134858)
@@ -1,12 +0,0 @@
-pre_upgrade() {
-    if [ "$(vercmp $2 2.3.2-1)" -lt 0 ]; then
-        echo "==> Fixing potential ABS tree permission issues (this may take a while...)"
-    
-        for dir in core extra community testing; do
-            if [ -d /var/abs/$dir ]; then
-                find /var/abs/$dir -type d -exec chown root:root {} \;
-                find /var/abs/$dir -type d -exec chmod 755 {} \;
-            fi
-        done
-    fi
-}




More information about the arch-commits mailing list