mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-12-05 00:00:34 +00:00
This commit is contained in:
parent
fff6cad5ac
commit
62db71ae4d
14
Hacefile.yml
14
Hacefile.yml
@ -121,3 +121,17 @@ tasks:
|
|||||||
- src
|
- src
|
||||||
commands: |
|
commands: |
|
||||||
tokei src -e src/constants/
|
tokei src -e src/constants/
|
||||||
|
|
||||||
|
aur:
|
||||||
|
phony: true
|
||||||
|
always_run: true
|
||||||
|
commands: |
|
||||||
|
rm -rf aur-{{NAME}}
|
||||||
|
git clone ssh://aur@aur.archlinux.org/{{NAME}}.git aur-{{NAME}}
|
||||||
|
sed s/pkgver=.*/pkgver=$(shards version)/ -i aur-{{NAME}}/PKGBUILD
|
||||||
|
sed s/pkgrel=.*/pkgrel=1/ -i aur-{{NAME}}/PKGBUILD
|
||||||
|
cd aur-{{NAME}} && updpkgsums && makepkg --printsrcinfo > .SRCINFO
|
||||||
|
cd aur-{{NAME}} && makepkg -fsr
|
||||||
|
cd aur-{{NAME}} && git add PKGBUILD .SRCINFO
|
||||||
|
cd aur-{{NAME}} && git commit -a -m "Update to $(shards version)"
|
||||||
|
cd aur-{{NAME}} && git push
|
||||||
|
Loading…
Reference in New Issue
Block a user