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

Travis Willard travis at archlinux.org
Wed Apr 16 02:20:16 UTC 2008


    Date: Tuesday, April 15, 2008 @ 22:20:16
  Author: travis
Revision: 289

upgpkg: abs 2.0-3
    Update with install message and move to core

Added:
  abs/trunk/abs.install
Modified:
  abs/trunk/ChangeLog
  abs/trunk/PKGBUILD

-------------+
 ChangeLog   |    6 ++++++
 PKGBUILD    |   11 ++++++-----
 abs.install |   10 ++++++++++
 3 files changed, 22 insertions(+), 5 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2008-04-15 07:06:57 UTC (rev 288)
+++ ChangeLog	2008-04-16 02:20:16 UTC (rev 289)
@@ -1,3 +1,9 @@
+2008-04-15 Travis Willard <travis at archlinux.org>
+
+	* 2.0-3
+	Added install message
+	Moved abs.conf to /etc instead of /etc/abs
+
 2008-04-13 Travis Willard <travis at archlinux.org>
 
 	* 2.0-2

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-04-15 07:06:57 UTC (rev 288)
+++ PKGBUILD	2008-04-16 02:20:16 UTC (rev 289)
@@ -4,22 +4,23 @@
 
 pkgname=abs
 pkgver=2.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Utilities to download and work with the Arch Build System (ABS)"
 arch=('i686' 'x86_64')
 url="http://projects.archlinux.org/git/?p=abs.git"
 license=('GPL')
 depends=('bash' 'rsync')
 groups=('base-devel')
-backup=(etc/abs/abs.conf)
+backup=(etc/abs.conf)
+install=abs.install
 source=(ftp://ftp.archlinux.org/other/abs/$pkgname-$pkgver.tar.gz)
-md5sums=('d5a254606f401fa1b0136ad8b73a088f')
+md5sums=('559049b56b7de70f4824c20785835194')
 
 build() {
   cd $startdir/src/$pkgname
 
-  make || return 1
-  make DESTDIR=$startdir/pkg install || return 1
+  make CONFDIR=/etc/ || return 1
+  make CONFDIR=/etc/ DESTDIR=$startdir/pkg install || return 1
 
   # Add readme file, and make base /var/abs path
   install -dm0755 $startdir/pkg/var/abs/local/

Added: abs.install
===================================================================
--- abs.install	                        (rev 0)
+++ abs.install	2008-04-16 02:20:16 UTC (rev 289)
@@ -0,0 +1,10 @@
+## arg 1:  the new package version
+## arg 2:  the old package version
+pre_upgrade() {
+  if [ "$(vercmp $2 2.0-1)" -lt 0 ]; then
+    echo "==> ABS now uses rsync, instead of cvsup, to synchronize your tree."
+    echo "==> Please note the new configuration in /etc/abs.conf"
+  fi
+}
+
+# vim:set ts=2 sw=2 et:





More information about the arch-commits mailing list