From 481524cb69889bec1ea69f0c77fd4e3d251ddaa3 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 30 Jan 2007 06:31:18 +0000 Subject: This is a silly script now that a fancy aurbuild is out in the wild (on the AUR, surprisingly enough, heh) --- scripts/aurbuild | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 scripts/aurbuild (limited to 'scripts/aurbuild') diff --git a/scripts/aurbuild b/scripts/aurbuild deleted file mode 100755 index cc91efc5..00000000 --- a/scripts/aurbuild +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -die() { - echo $* - exit 1 -} - -if [ "$1" == "" ]; then - echo "usage: aurbuild " - 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: -- cgit v1.2.3-70-g09d2