Add arch{co,release,rm} to devtools and make them install properly
This commit is contained in:
parent
e76a1b2def
commit
8842f31551
7
Makefile
7
Makefile
|
@ -8,6 +8,10 @@ install:
|
|||
ln -sf extrapkg $(DESTDIR)/usr/bin/corepkg
|
||||
ln -sf extrapkg $(DESTDIR)/usr/bin/testingpkg
|
||||
ln -sf extrapkg $(DESTDIR)/usr/bin/unstablepkg
|
||||
# arch{co,release,rm}
|
||||
install -m 755 archco $(DESTDIR)/usr/bin
|
||||
install -m 755 archrelease $(DESTDIR)/usr/bin
|
||||
install -m 755 archrm $(DESTDIR)/usr/bin
|
||||
# new chroot tools, only usable by root
|
||||
mkdir -p $(DESTDIR)/usr/sbin
|
||||
install -m 755 mkarchroot $(DESTDIR)/usr/sbin
|
||||
|
@ -27,3 +31,6 @@ uninstall:
|
|||
rm $(DESTDIR)/usr/sbin/makechrootpkg
|
||||
rm $(DESTDIR)/usr/bin/lddd
|
||||
rm $(DESTDIR)/usr/bin/finddeps
|
||||
rm $(DESTDIR)/usr/bin/archco
|
||||
rm $(DESTDIR)/usr/bin/archrelease
|
||||
rm $(DESTDIR)/usr/bin/archrm
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$1" = "" ]; then
|
||||
echo "Usage: archco <package name>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
svn co ssh://svn.archlinux.org/home/svn-packages/$1
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$1" = "" ]; then
|
||||
echo "Usage: archrelease <repo>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d ../repos/$1 ]; then
|
||||
pushd ..
|
||||
svn copy trunk ../repos/$1
|
||||
popd
|
||||
else
|
||||
svnmerge merge ../repos/$1
|
||||
fi
|
||||
|
||||
pushd ..
|
||||
svn commit -F trunk/svnmerge-commit-message.txt
|
||||
popd
|
||||
rm svnmerge-commit-message.txt
|
Loading…
Reference in New Issue