aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/Makefile
blob: b1715ab1d4d706377b6888e7c69e51d4ee0af606 (plain) (tree)
1
2
3
4
5
6
7
8
9
                  


                        
           
          
 

             
                                                                                            
 

              
                        
                                                                    


            
                                                                                                                  
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"