summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel J Griffiths <ghost1227@archlinux.us>2009-09-18 20:53:18 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-09-18 20:53:18 +0200
commitc9d1b3457c19043a8cc3a9133254289defd40178 (patch)
tree247257ebcf4df10d52b91124df484c193f4bf7f4
parent0a35566e2baeaf0786ab471a3a48fd4590cc6dc0 (diff)
downloaddevtools-c9d1b3457c19043a8cc3a9133254289defd40178.tar.gz
devtools-c9d1b3457c19043a8cc3a9133254289defd40178.tar.xz
Add support for community-testing repo
[Aaron: Added Makefile entries] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rw-r--r--Makefile2
-rwxr-xr-xcommitpkg3
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f29082a..8c679b6 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ install:
ln -sf commitpkg $(DESTDIR)/usr/bin/corepkg
ln -sf commitpkg $(DESTDIR)/usr/bin/testingpkg
ln -sf commitpkg $(DESTDIR)/usr/bin/communitypkg
+ ln -sf commitpkg $(DESTDIR)/usr/bin/community-testingpkg
# arch{co,release,rm}
install -m 755 archco $(DESTDIR)/usr/bin
install -m 755 archrelease $(DESTDIR)/usr/bin
@@ -29,6 +30,7 @@ uninstall:
rm $(DESTDIR)/usr/bin/corepkg
rm $(DESTDIR)/usr/bin/testingpkg
rm $(DESTDIR)/usr/bin/communitypkg
+ rm $(DESTDIR)/usr/bin/community-testingpkg
rm $(DESTDIR)/usr/sbin/mkarchroot
rm $(DESTDIR)/usr/sbin/makechrootpkg
rm $(DESTDIR)/usr/bin/lddd
diff --git a/commitpkg b/commitpkg
index 0bbe15c..1b1fc46 100755
--- a/commitpkg
+++ b/commitpkg
@@ -58,6 +58,9 @@ for _pkgname in ${pkgname[@]}; do
elif [ "$cmd" == "communitypkg" ]; then
repo="community"
server="aur.archlinux.org"
+ elif [ "$cmd" == "community-testingpkg" ]; then
+ repo="community-testing"
+ server="aur.archlinux.org"
else
if [ $# -eq 0 ]; then
echo "usage: commitpkg <reponame> [-l limit] [commit message]"