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 /PKGBUILD | |
parent | adc308ce0593eeafa7b7b85e0fc780b4c9d158ba (diff) | |
download | aur-46cc00a1a7d04a6ab9e3211f2b35cba4227a5c48.tar.gz |
fix bad symlink resolution
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 } |