aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
blob: b1715ab1d4d706377b6888e7c69e51d4ee0af606 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
include prelude.mk

PKG_NAME := config-links

.PHONY: all
all: build

.PHONY: build
build:
	makepkg --clean --cleanbuild --force --syncdeps && makepkg --printsrcinfo > .SRCINFO

.PHONY: commit
commit:
	git add .SRCINFO
	source ./PKGBUILD && git commit -am "aur: $$pkgver-$$pkgrel"

.PHONY: push
push:
	git push 'ssh://aur@aur.archlinux.org/$(call escape,$(PKG_NAME)).git' "$$( git symbolic-ref HEAD ):master"