-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
35 lines (28 loc) · 699 Bytes
/
Copy pathjustfile
File metadata and controls
35 lines (28 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
default:
@just -l
### Playbook:
# - update version number in PKGBUILD
# - `just up <pkg>`
# - `just bi <pkg>` to test it out
# - commit changes to git
# - `just deploy <pkg>`
# makepkg --geninteg for {{pkg}}
geninteg pkg:
cd {{pkg}} && test -w PKGBUILD \
&& updpkgsums
# generate .SRCINFO for {{pkg}}
srcinfo pkg:
cd {{pkg}} && makepkg -C --printsrcinfo > .SRCINFO
# update {{pkg}}
up pkg:
@just geninteg {{pkg}}
@just srcinfo {{pkg}}
# build & install {{pkg}}
bi pkg:
cd {{pkg}} && makepkg -si --nocheck
# build w/ aurutils
ba pkg:
cd {{pkg}} && aur build -c -f .
# push {{pkg}} to AUR
deploy pkg:
git subtree push -P {{pkg}} ssh://aur@aur.archlinux.org/{{pkg}}.git master