We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5153f9e commit a74f52cCopy full SHA for a74f52c
Makefile
@@ -33,7 +33,7 @@ lint:
33
shellcheck -s bash $(PROG).bash
34
35
aur:
36
- cd aur && makepkg --printsrcinfo > .SRCINFO
+ ./update-aur.sh
37
38
aur-push:
39
git submodule foreach 'git push'
update-aur.sh
@@ -0,0 +1,13 @@
1
+#!/bin/bash
2
+
3
+VERSION=$(git tag --list "v*" | tail -n1)
4
5
+URL="https://github.com/ibizaman/pass-ssh/archive/$VERSION.tar.gz"
6
7
+SHA=$(curl --location --silent "$URL" | sha512sum | cut -d' ' -f1)
8
9
+cd aur || exit 1
10
11
+sed -i "s/sha512sums.*$/sha512sums=('$SHA')/" PKGBUILD || exit 1
12
13
+makepkg --printsrcinfo > .SRCINFO || exit 1
0 commit comments