diff options
author | Lucas Malandrino | 2018-11-23 12:52:30 +0100 |
---|---|---|
committer | Lucas Malandrino | 2018-11-23 12:52:30 +0100 |
commit | ae4c636e0eea83274575760645614d8f06ea9c3f (patch) | |
tree | 58ce35ee40753a7a1659a6eb3fe8fec94be71c7b | |
parent | b29b8851d5cd68b995a9560e2432aa35bf48f0d3 (diff) | |
download | aur-ae4c636e0eea83274575760645614d8f06ea9c3f.tar.gz |
Fixed broken symlink
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | edex-ui.install | 7 |
3 files changed, 9 insertions, 4 deletions
@@ -3,6 +3,7 @@ pkgbase = edex-ui pkgver = 1.0.1 pkgrel = 1 url = https://github.com/GitSquared/edex-ui + install = edex-ui.install arch = i686 arch = x86_64 arch = armv7h @@ -9,6 +9,7 @@ license=('GPL3') depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libvpx' 'libxslt' 'libxss' 'minizip' 'nss' 're2' 'snappy' 'libnotify' 'libappindicator-gtk2' 'libappindicator-gtk3' 'libappindicator-sharp') makedepends=('npm') provides=('edex-ui') +install="edex-ui.install" source=("https://github.com/GitSquared/${pkgname}/archive/v${pkgver}.tar.gz" "package.json.patch") sha256sums=('18840ed0b73806d70a9e33a9171f811245c692bba8c02aa44334c1ca5f9a14c7' @@ -42,8 +43,4 @@ package() { rm -f "${pkgdir}/.INSTALL" "${pkgdir}/.MTREE" "${pkgdir}/.PKGINFO" chmod 755 "${pkgdir}/opt/eDEX-UI/edex-ui" - - # Symlink the executable - mkdir -p "${pkgdir}/usr/local/bin" - ln -s "${pkgdir}/opt/eDEX-UI/edex-ui" "${pkgdir}/usr/local/bin/edex-ui" } diff --git a/edex-ui.install b/edex-ui.install new file mode 100644 index 000000000000..131b639f264f --- /dev/null +++ b/edex-ui.install @@ -0,0 +1,7 @@ +post_install() { + ln -sf /opt/eDEX-UI/edex-ui /usr/local/bin/edex-ui +} + +post_remove() { + rm -f /usr/local/bin/edex-ui +} |