Remove the community-specific code that calls tupkg. Make the server variable a bit more dependent on what repo we are uploading to in order to get community working, and finally create the correct symlinks for communitypkg in the Makefile. Note that this change will require the Arch devtools package to get a replace entry for aurtools. Signed-off-by: Dan McGee <dan@archlinux.org>
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
all:
|
|
|
|
install:
|
|
# commitpkg/checkpkg and friends
|
|
mkdir -p $(DESTDIR)/usr/bin
|
|
install -m 755 checkpkg $(DESTDIR)/usr/bin
|
|
install -m 755 commitpkg $(DESTDIR)/usr/bin
|
|
ln -sf commitpkg $(DESTDIR)/usr/bin/extrapkg
|
|
ln -sf commitpkg $(DESTDIR)/usr/bin/corepkg
|
|
ln -sf commitpkg $(DESTDIR)/usr/bin/testingpkg
|
|
ln -sf commitpkg $(DESTDIR)/usr/bin/communitypkg
|
|
# 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
|
|
install -m 755 makechrootpkg $(DESTDIR)/usr/sbin
|
|
#Additional packaging helper scripts
|
|
install -m 755 lddd $(DESTDIR)/usr/bin
|
|
install -m 755 finddeps $(DESTDIR)/usr/bin
|
|
|
|
uninstall:
|
|
# remove all files we installed
|
|
rm $(DESTDIR)/usr/bin/checkpkg
|
|
rm $(DESTDIR)/usr/bin/commitpkg
|
|
rm $(DESTDIR)/usr/bin/extrapkg
|
|
rm $(DESTDIR)/usr/bin/corepkg
|
|
rm $(DESTDIR)/usr/bin/testingpkg
|
|
rm $(DESTDIR)/usr/bin/communitypkg
|
|
rm $(DESTDIR)/usr/sbin/mkarchroot
|
|
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
|