summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeioth2022-04-11 03:09:24 +0200
committerZeioth2022-04-11 03:09:24 +0200
commitb6372d73d6851a013870d0e380a9b7f698996ac4 (patch)
treec5f2429b0cc494a9d6213c7208ce5db03e4cacb0
parent03e7cfd3dcf2674e05a8d2dce2ee696f1b71ca6e (diff)
downloadaur-b6372d73d6851a013870d0e380a9b7f698996ac4.tar.gz
Installer fix
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8beb88d93a5..f6937b4fbd0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wofi-calc
pkgdesc = A simple calculator for wofi, inspired in rofi-calc.
pkgver = 1.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/Zeioth/wofi-calc.git
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 7cfbe668b0f..3048dd67e6d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
# Maintainer: Adrian Lopez <zeioth@hotmail.com>
pkgname=wofi-calc
pkgver=1.1
-pkgrel=2
+pkgrel=3
epoch=
pkgdesc="A simple calculator for wofi, inspired in rofi-calc."
arch=(any)
@@ -30,6 +30,7 @@ sha256sums=('SKIP')
validpgpkeys=()
package() {
- cp "${srcdir}"/wofi-calc/wofi-calc.sh ~/.local/bin/wofi-calc
- chmod u+x ~/.local/bin/wofi-calc
+ # Note: 'install' is a chmod+cp one-liner command by GNU
+ mkdir -p "$pkgdir"/usr/bin
+ install -m 555 "${srcdir}"/wofi-calc/wofi-calc.sh "$pkgdir"/usr/bin/wofi-calc
}