FS#71947 - [kakoune] 2021.08.28-1 installs a symlink in /usr/libexec

Attached to Project: Community Packages
Opened by tinywrkb (tinywrkb) - Sunday, 29 August 2021, 22:04 GMT
Last edited by Maxim Baz (maximbaz) - Tuesday, 31 August 2021, 21:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Maxim Baz (maximbaz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I'm not sure if this is a mandatory policy, but from what I've seen /usr/libexec is being avoided when packaging for Arch Linux.
Also, there's a missing dependency.

---

diff --git a/repos/community-x86_64/PKGBUILD b/repos/community-x86_64/PKGBUILD
index 36cbb5c..b46a51f 100644
--- a/repos/community-x86_64/PKGBUILD
+++ b/repos/community-x86_64/PKGBUILD
@@ -8,6 +8,7 @@ pkgdesc="Multiple-selection, UNIX-flavored modal editor"
arch=("x86_64")
url="https://kakoune.org/"
license=("custom:unlicense")
+depends=("gcc-libs")
optdepends=(
"aspell: spell check, correct text"
"clang: error reporting and diagnostics, completion"
@@ -33,6 +34,6 @@ check() {

package() {
cd "${pkgname}-${pkgver}/src"
- make install-strip DESTDIR="${pkgdir}" PREFIX=/usr
+ make install-strip DESTDIR="${pkgdir}" PREFIX=/usr libexecdir="${pkgdir}"/usr/lib/kak
install -D ../UNLICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
This task depends upon

Closed by  Maxim Baz (maximbaz)
Tuesday, 31 August 2021, 21:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in kakoune-2021.08.28-2
Comment by Maxim Baz (maximbaz) - Tuesday, 31 August 2021, 21:53 GMT
Thank you very much, for catching the issues and for the patch! :)

Loading...