summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeioth2022-04-10 20:58:04 +0200
committerZeioth2022-04-10 20:58:04 +0200
commit9fd4142b109dbdea2439d98c1b7235b2ad30587b (patch)
treeec1ce6395e6a7a72943e9c5bebd68726591ef5b4
parent7e6ecfa759ec88b479eee8e93b17eefce3926e54 (diff)
downloadaur-9fd4142b109dbdea2439d98c1b7235b2ad30587b.tar.gz
sha256sum are now automatically generated
instead of using the old md5sum
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 30629809b02f..a8027dd15ec7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index a8be53cf3073..ed38c3b20f23 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}