summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2021-09-04 10:13:12 -0600
committerMark Wagie2021-09-04 10:13:12 -0600
commit4f1c481d46a7009fee80804353fcb52ba0f21416 (patch)
treee1c02398d53de2e5a3555ac3ea829b531f192044
parent6b92717ce94c0463cac84f4f418ec5629213a442 (diff)
downloadaur-4f1c481d46a7009fee80804353fcb52ba0f21416.tar.gz
fix ALL the symlinks
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 4 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 65300e4ffaa9..f6bab7da8c39 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 7f7011634a20..d79ab64a82f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}