Add AUR package blacklist updater (aurblup).

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-02-05 17:42:47 +01:00
parent b69f548065
commit 400d7845e4
6 changed files with 303 additions and 0 deletions

30
scripts/aurblup/Makefile Normal file
View file

@ -0,0 +1,30 @@
include config.mk
SRC = aurblup.c
OBJ = ${SRC:.c=.o}
all: aurblup
.c.o:
${CC} -c ${CFLAGS} $<
config.h:
cp config.h.proto config.h
${OBJ}: config.h
aurblup: ${OBJ}
${CC} -o $@ ${OBJ} ${LDFLAGS}
install: aurblup
install -Dm0755 aurblup "${DESTDIR}${PREFIX}/bin/aurblup"
install -dm0755 "${DESTDIR}/var/lib/aurblup/"
uninstall:
rm -f "${DESTDIR}${PREFIX}/bin/aurblup"
rm -f "${DESTDIR}/var/lib/aurblup/"
clean:
rm -f aurblup ${OBJ}
.PHONY: all install uninstall clean