diff options
author | Zeioth | 2022-04-10 20:58:04 +0200 |
---|---|---|
committer | Zeioth | 2022-04-10 20:58:04 +0200 |
commit | 9fd4142b109dbdea2439d98c1b7235b2ad30587b (patch) | |
tree | ec1ce6395e6a7a72943e9c5bebd68726591ef5b4 | |
parent | 7e6ecfa759ec88b479eee8e93b17eefce3926e54 (diff) | |
download | aur-9fd4142b109dbdea2439d98c1b7235b2ad30587b.tar.gz |
sha256sum are now automatically generated
instead of using the old md5sum
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 7 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = wofi-calc-git pkgdesc = A simple calculator for wofi, inspired in rofi-calc. - pkgver = 1.0.r17.56372a9 + pkgver = 1.0.r3.7e6ecfa pkgrel = 1 url = https://github.com/Zeioth/wofi-calc.git arch = any @@ -12,6 +12,6 @@ pkgbase = wofi-calc-git provides = wofi-calc-git conflicts = wofi-calc-git source = https://raw.githubusercontent.com/Zeioth/wofi-calc/main/wofi-calc.sh - md5sums = db674463102b04493962f4ed1f3d73fa + sha256sums = 0bc4930e7df685389309198ce214ebf3b88aee71ca0198f586ff0afe6bea716b pkgname = wofi-calc-git @@ -5,7 +5,7 @@ # Maintainer: Adrian Lopez <zeioth@hotmail.com> pkgname=wofi-calc-git -pkgver=1.0.r17.56372a9 +pkgver=1.0.r3.7e6ecfa pkgrel=1 epoch= pkgdesc="A simple calculator for wofi, inspired in rofi-calc." @@ -26,7 +26,7 @@ install= changelog= source=("https://raw.githubusercontent.com/Zeioth/wofi-calc/main/wofi-calc.sh") noextract=() -md5sums=('db674463102b04493962f4ed1f3d73fa') +sha256sums=('0bc4930e7df685389309198ce214ebf3b88aee71ca0198f586ff0afe6bea716b') validpgpkeys=() pkgver() { @@ -35,6 +35,7 @@ pkgver() { } package() { - sudo cp "${srcdir}"/wofi-calc/wofi-calc.sh /usr/bin/wofi-calc - sudo chmod u+x /usr/bin/wofi-calc + # Note: 'install' is a chmod+cp one-liner command by GNU + mkdir -p "$pkgdir"/usr/bin + install -m 111 "${srcdir}"/wofi-calc.sh "$pkgdir"/usr/bin/wofi-calc } |