[pacman-dev] CVS update of pacman-lib/scripts (aurbuild)

Aaron Griffin aaron at archlinux.org
Tue Jan 30 01:31:18 EST 2007


    Date: Tuesday, January 30, 2007 @ 01:31:18
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/scripts

 Removed: aurbuild (1.2)

This is a silly script now that a fancy aurbuild is out in the wild (on the AUR,
surprisingly enough, heh)


----------+
 aurbuild |   25 -------------------------
 1 file changed, 25 deletions(-)


Index: pacman-lib/scripts/aurbuild
diff -u pacman-lib/scripts/aurbuild:1.2 pacman-lib/scripts/aurbuild:removed
--- pacman-lib/scripts/aurbuild:1.2	Wed Dec 20 20:53:41 2006
+++ pacman-lib/scripts/aurbuild	Tue Jan 30 01:31:18 2007
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-die() {
-	echo $*
-	exit 1
-}
-
-if [ "$1" == "" ]; then
-	echo "usage: aurbuild <package_name>"
-	echo
-	exit 1
-fi
-pkgname=$1
-[ -d $pkgname  ] && die "Directory '$pkgname' already exists"
-[ -f $pkgname  ] && die "File '$pkgname' already exists"
-
-echo "Downloading $pkgname.tar.gz"
-wget -q http://aur.archlinux.org/packages/$pkgname/$pkgname.tar.gz || die "Failed to fetch $1.pkg.tar.gz"
-
-tar zxf $pkgname.tar.gz || die "Extraction failed"
-rm -f $pkgname.tar.gz
-cd $pkgname || die "Failed to cwd"
-makepkg
-
-# vim: set ts=2 sw=2 noet:




More information about the pacman-dev mailing list