mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add AUR package blacklist updater (aurblup).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
b69f548065
commit
400d7845e4
6 changed files with 303 additions and 0 deletions
30
scripts/aurblup/Makefile
Normal file
30
scripts/aurblup/Makefile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue