diff options
author | Tom Hiller | 2019-05-28 20:37:29 -0400 |
---|---|---|
committer | Tom Hiller | 2019-05-28 20:37:29 -0400 |
commit | 46cc00a1a7d04a6ab9e3211f2b35cba4227a5c48 (patch) | |
tree | 4b517440f663cd31235cd56b671be71f7ec54085 | |
parent | adc308ce0593eeafa7b7b85e0fc780b4c9d158ba (diff) | |
download | aur-46cc00a1a7d04a6ab9e3211f2b35cba4227a5c48.tar.gz |
fix bad symlink resolution
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 3 deletions
@@ -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 @@ -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 } |