Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archco.in
blob: be026b1b89e29b1fd89e5269eb7caa473e7a6c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

m4_include(lib/common.sh)

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";;
	*)
		die "Couldn't find svn url for $scriptname"
		;;
esac

for i in "$@"; do
	svn co "$SVNURL/$i"
done