diff options
author | Mark Wagie | 2021-09-02 08:59:17 -0600 |
---|---|---|
committer | Mark Wagie | 2021-09-02 08:59:17 -0600 |
commit | 6b92717ce94c0463cac84f4f418ec5629213a442 (patch) | |
tree | 880756bc90b8dd3586d3773d927341371c89105b | |
parent | 4f1fec20d616dd80a70f719c3e7c9a893e9ffc86 (diff) | |
download | aur-6b92717ce94c0463cac84f4f418ec5629213a442.tar.gz |
fix symlink
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,5 @@ pkgbase = pop-launcher-git - pkgver = 1.0.0.r0.g8b7c835 + pkgver = 1.0.0.r1.gbbd513a pkgrel = 2 url = https://github.com/pop-os/launcher arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> pkgname=('pop-launcher-git' 'pop-launcher-system76-power-git') pkgbase=pop-launcher-git -pkgver=1.0.0.r0.g8b7c835 +pkgver=1.0.0.r1.gbbd513a pkgrel=2 arch=('x86_64') url="https://github.com/pop-os/launcher" @@ -37,6 +37,11 @@ package_pop-launcher-git() { cd "$srcdir/launcher" make DESTDIR="$pkgdir/" install + # Fix symlink + rm "$pkgdir/usr/lib/${pkgbase%-git}/plugins/pop_shell/pop-shell" + ln -s "/usr/bin/${pkgbase%-git}" \ + "$pkgdir/usr/lib/${pkgbase%-git}/plugins/pop_shell/pop-shell" + rm -rf "$pkgdir/usr/lib/${pkgbase%-git}/scripts/system76-power" } |