Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/archco.in
blob: c569e52ffc4a1470b3140da844152d4531e385d1 (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
#
# SPDX-License-Identifier: GPL-3.0-or-later

m4_include(lib/common.sh)

scriptname=${0##*/}

if [[ -z $1 ]]; then
	printf 'Usage: %s <package name>...\n' "$scriptname"
	exit 1
fi

case $scriptname in
	archco)
		GITURL="ssh://git@gitlab.archlinux.org:222/bot-test/packages";;
	*)
		die "Couldn't find Git url for %s" "$scriptname"
		;;
esac

for pkgbase in "$@"; do
	git clone --origin origin --config commit.gpgsign=true "${GITURL}/${pkgbase}.git"
done