summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Patrick Fair2020-09-01 07:27:06 -0600
committerChristopher Patrick Fair2020-09-01 07:27:06 -0600
commitd77467e850a1585074aa8a7c2dda1e6062ec29aa (patch)
tree94870bc53484a11d4e7cf029dec4a90750e9e95b
parente2b52dd2ff9b40e5d4ef8e59b2972b98531d0a72 (diff)
downloadaur-d77467e850a1585074aa8a7c2dda1e6062ec29aa.tar.gz
I had to add a script that would run the wally executable with absolute path that was necessary because the bin file must be executed with absolute path instead of relying on the path
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 22ba2e45e59..d5cb23c9e50 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = zsa-wally
pkgdesc = Wally: Flash your ZSA Keyboard the EZ way.
pkgver = 2.0.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/zsa/wally
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 29fcb77596a..7966e605d41 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=zsa-wally
pkgver=2.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="Wally: Flash your ZSA Keyboard the EZ way."
arch=('i686' 'x86_64')
url="https://github.com/zsa/wally"
@@ -26,6 +26,8 @@ build() {
package() {
install -Dm644 50-wally.rules "$pkgdir"/etc/udev/rules.d/50-wally.rules
- install -Dm755 $srcdir/wally-$pkgver-linux/build/wally "$pkgdir"/usr/bin/wally
+ install -Dm755 $srcdir/wally-$pkgver-linux/build/wally "$pkgdir"/usr/bin/wally-bin
+ echo "/usr/bin/wally-bin" > "$pkgdir"/usr/bin/wally
+ chmod uag+x "$pkgdir"/usr/bin/wally
chmod -R uag+rw $srcdir
}