Skip to content

Commit a9586cd

Browse files
committed
use updpkgsums from pacman-contrib
1 parent ee4dd7e commit a9586cd

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

update-aur.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
#!/bin/bash
22

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-
93
cd aur || exit 1
104

11-
sed -i "s/sha512sums.*$/sha512sums=('$SHA')/" PKGBUILD || exit 1
5+
# From pacman-contrib
6+
updpkgsums
127

138
makepkg --printsrcinfo > .SRCINFO || exit 1

0 commit comments

Comments
 (0)