diff options
author | Mark Wagie | 2021-09-04 10:13:12 -0600 |
---|---|---|
committer | Mark Wagie | 2021-09-04 10:13:12 -0600 |
commit | 4f1c481d46a7009fee80804353fcb52ba0f21416 (patch) | |
tree | e1c02398d53de2e5a3555ac3ea829b531f192044 | |
parent | 6b92717ce94c0463cac84f4f418ec5629213a442 (diff) | |
download | aur-4f1c481d46a7009fee80804353fcb52ba0f21416.tar.gz |
fix ALL the symlinks
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 4 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = pop-launcher-git pkgver = 1.0.0.r1.gbbd513a - pkgrel = 2 + pkgrel = 3 url = https://github.com/pop-os/launcher arch = x86_64 license = GPL3 @@ -2,7 +2,7 @@ pkgname=('pop-launcher-git' 'pop-launcher-system76-power-git') pkgbase=pop-launcher-git pkgver=1.0.0.r1.gbbd513a -pkgrel=2 +pkgrel=3 arch=('x86_64') url="https://github.com/pop-os/launcher" license=('GPL3') @@ -35,12 +35,9 @@ package_pop-launcher-git() { conflicts=("${pkgname%-git}") cd "$srcdir/launcher" - make DESTDIR="$pkgdir/" install + sed -i "s|${pkgbase%-git}-bin \$(BIN)|${pkgbase%-git}-bin $pkgdir/usr/bin/${pkgbase%-git}|g" Makefile - # 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" + make BIN="/usr/bin/${pkgbase%-git}" DESTDIR="$pkgdir/" install rm -rf "$pkgdir/usr/lib/${pkgbase%-git}/scripts/system76-power" } |