blob: c8b377f9c3cc3ae2000a57351fd3afb5ea097775 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
PKG_NAME := ttf-lxgw-neo-xihei-screen
AUR_GIT_URL := ssh://aur@aur.archlinux.org/${PKG_NAME}.git
.PHONY: all run update aur
all:
@echo commands:
@echo " " aur : Connect to AUR. Afterward you can run \'git push -u origin master\' to actually create a AUR repo.
@echo " " update : update checksum and SRCINFO
@echo " " run : local test
aur:
git remote add origin ${AUR_GIT_URL}
git fetch
update: SHELL:=/bin/bash
update:
@([[ $$(git ls-files) ]] && git clean -xdf ) || ( echo Please make your first stage or commit to ensure which files will not be deleted as cache files first && exit 1 )
updpkgsums # update package integrity checksum
makepkg --printsrcinfo > .SRCINFO
run:
makepkg -si --clean
|