[arch-commits] CVS update of core/devel/abs (PKGBUILD)

Travis Willard travis at archlinux.org
Tue Jan 8 00:53:52 UTC 2008


    Date: Monday, January 7, 2008 @ 19:53:52
  Author: travis
    Path: /home/cvs-core/core/devel/abs

   Added: PKGBUILD (1.1)

upgpkg: abs 1.0-1
Split ABS out from pacman - initial standalone release


----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)


Index: core/devel/abs/PKGBUILD
diff -u /dev/null core/devel/abs/PKGBUILD:1.1
--- /dev/null	Mon Jan  7 19:53:52 2008
+++ core/devel/abs/PKGBUILD	Mon Jan  7 19:53:52 2008
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD,v 1.1 2008/01/08 00:53:52 travis Exp $
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Maintainer: Travis Willard <travis at archlinux.org>	
+
+pkgname=abs
+pkgver=1.0
+pkgrel=1
+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')
+groups=('base-devel')
+depends=('bash' 'csup')
+backup=(etc/abs/abs.conf
+        etc/abs/supfile.{core,extra,community,testing,unstable})
+source=(ftp://ftp.archlinux.org/other/abs/$pkgname-$pkgver.tar.gz)
+
+build() {
+  cd $startdir/src/$pkgname
+  
+  make DESTDIR=$startdir/pkg install || return 1
+
+  # change ABS tags for x86_64 to correct values
+  if [ "$CARCH" = "x86_64" ]; then
+    sed -i "s|CURRENT|CURRENT-64|g" \
+        $startdir/pkg/etc/abs/supfile.{core,extra,community,unstable}
+    sed -i "s|TESTING|TESTING-64|g" $startdir/pkg/etc/abs/supfile.testing
+  fi
+}
+
+# vim: set ts=2 sw=2 noet:




More information about the arch-commits mailing list