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

PKG_NAME := linux-status

.PHONY: all
all: build

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

.PHONY: commit
commit:
	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"