Revised patch:
diff --git a/PKGBUILD b/PKGBUILD
index ffc2fd6..e08ff6b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -83,9 +83,11 @@ package() {
cd "$pkgname"
DESTDIR="$pkgdir" ninja -C ../build install
rm -rf "$pkgdir/usr/lib/gittyup/"*.so.*
- local _bin="$pkgdir/usr/lib/$pkgname/${pkgname^}"
- install -Dm0755 "$_bin" "$pkgdir/usr/bin/$pkgname"
- rm "$_bin"
+ rm -rf "$pkgdir/usr/lib/gittyup/include"
+ rm -rf "$pkgdir/usr/lib/gittyup/lib"
+ rm -rf "$pkgdir/usr/lib/gittyup/share"
+ install -dm755 "$pkgdir/usr/bin"
+ ln -s "../../usr/lib/$pkgname/${pkgname^}" "$pkgdir/usr/bin/$pkgname"
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.md
install -Dm0644 -t "$pkgdir/usr/share/applications/" ../$pkgname.desktop
install -Dm0644 rsrc/Gittyup.iconset/gittyup_logo.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/gittyup.svg"
I realized that I could just have used a symbolic link. It also work better with pinned apps in KDE.
Pinned Comments
alerque commented on 2024-12-20 13:30 (UTC)
I've created an issue upstream to track requirements for this build to make it to [extra]. As soon as those are met I'll make an official build for this. The project is a lot closer than it was even the last time I reviewed the status. If you want this to happen I'm sure the upstream project could use a hand with a few of the remaining details for devendoring.