Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archco.in
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-10-14 09:33:07 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-10-14 09:33:07 +0200
commitb06b9f60109ad152e8a6ce8c20f9266648d9d70f (patch)
tree65199dc8d398671431f0fa5af6b65325dacde09e /archco.in
parent9715ddbe9df6e7a2a37a11c4f3e90a5446459217 (diff)
parenta0c6bf4556e211037b9d9d6de3fd17f798a3c1fb (diff)
Merge remote-tracking branch 'cryptocrack/for-pierre'
Diffstat (limited to 'archco.in')
-rw-r--r--archco.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/archco.in b/archco.in
new file mode 100644
index 0000000..31134f4
--- /dev/null
+++ b/archco.in
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+scriptname=${0##*/}
+
+if [ "$1" = '' ]; then
+ echo 'Usage: '$scriptname' <package name>...'
+ exit 1
+fi
+
+case $scriptname in
+ archco)
+ SVNURL="svn+ssh://gerolde.archlinux.org/srv/svn-packages";;
+ communityco)
+ SVNURL="svn+ssh://aur.archlinux.org/srv/svn-packages";;
+ *)
+ echo "error: couldn't find svn url for $scriptname"
+ exit 1
+ ;;
+esac
+
+for i in "$@"; do
+ svn co "$SVNURL/$i"
+done