summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTom Hiller2019-05-28 20:37:29 -0400
committerTom Hiller2019-05-28 20:37:29 -0400
commit46cc00a1a7d04a6ab9e3211f2b35cba4227a5c48 (patch)
tree4b517440f663cd31235cd56b671be71f7ec54085 /PKGBUILD
parentadc308ce0593eeafa7b7b85e0fc780b4c9d158ba (diff)
downloadaur-46cc00a1a7d04a6ab9e3211f2b35cba4227a5c48.tar.gz
fix bad symlink resolution
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cd2ecccbf07..ff8a111a0a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Tom Hiller <thrilleratplay@gmail.com>
pkgname=notable-bin
pkgver=1.5.1
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="The markdown-based note-taking app that doesn't suck"
arch=('x86_64')
@@ -12,7 +12,7 @@ depends=('libxss')
makedepends=()
checkdepends=()
optdepends=()
-provides=()
+provides=('notable')
conflicts=()
replaces=()
backup=()
@@ -31,5 +31,10 @@ package() {
mv usr "$pkgdir"
mv opt "$pkgdir"
mkdir "$pkgdir"/usr/bin/
+
+ # replace script that was added as a result of https://github.com/notable/notable/issues/658
+ echo -e '#!/bin/bash\n/opt/Notable/notable.bin "$@" --no-sandbox' > /opt/Notable/notable
+ chmod 755 /opt/Notable/notable
+
ln -s /opt/Notable/notable "$pkgdir"/usr/bin/notable
}