summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-01-30 07:31:18 +0100
committerAaron Griffin <aaron@archlinux.org>2007-01-30 07:31:18 +0100
commit481524cb69889bec1ea69f0c77fd4e3d251ddaa3 (patch)
treed6f3eda4566600806a0260be3c5fe8930adbbd63 /scripts
parent0bc06918e4b93cae874c09f4b1d487865ca44fbd (diff)
downloadpacman-481524cb69889bec1ea69f0c77fd4e3d251ddaa3.tar.gz
pacman-481524cb69889bec1ea69f0c77fd4e3d251ddaa3.tar.xz
This is a silly script now that a fancy aurbuild is out in the wild (on the AUR,
surprisingly enough, heh)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/aurbuild25
1 files changed, 0 insertions, 25 deletions
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 <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: