summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hiller2019-05-28 20:37:29 -0400
committerTom Hiller2019-05-28 20:37:29 -0400
commit46cc00a1a7d04a6ab9e3211f2b35cba4227a5c48 (patch)
tree4b517440f663cd31235cd56b671be71f7ec54085
parentadc308ce0593eeafa7b7b85e0fc780b4c9d158ba (diff)
downloadaur-46cc00a1a7d04a6ab9e3211f2b35cba4227a5c48.tar.gz
fix bad symlink resolution
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6b9f2088e6e..4a6e7a056ef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = notable-bin
pkgdesc = The markdown-based note-taking app that doesn't suck
pkgver = 1.5.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/fabiospampinato/notable
arch = x86_64
license = AGPL
depends = libxss
+ provides = notable
source = https://github.com/fabiospampinato/notable/releases/download/v1.5.1/notable_1.5.1_amd64.deb
md5sums = 7115dc49f46367f85f56f82409ab60e9
sha512sums = 80bf2a46f67940999db4e89171cda3f1b22c86cacccd7ee2e0e38a961f89083a76505b1288f65f8fc9fd6a91d3b98748f047a2d27e1763ba2aa7eef1fb7e24ae
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
}