Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
ncspot


Commits:
593e5e1c by Julian Swagemakers at 2025-09-09T08:27:13+02:00
remove ncspot folder from install call

The previous commit 5af2bbbec907e97791ff53257ef04c5b63f886f4 added the
option `-t` to the `install` command call which defines the target
directory, but kept the full path to the final binary. This results in
`install` creating a folder in /usr/bin called ncspot which then
contains the binary called ncspot. Trying to launch ncspot will fail
since its directory.

Fix: https://gitlab.archlinux.org/archlinux/packaging/packages/ncspot/-/issues/3

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -55,7 +55,7 @@ check() {
 
 package() {
   cd ${pkgname}-${pkgver}
-  install -vDm 755 -t "${pkgdir}/usr/bin/ncspot" target/release/ncspot
+  install -vDm 755 -t "${pkgdir}/usr/bin" target/release/ncspot
   install -vDm 644 -t "${pkgdir}/usr/share/applications" "misc/ncspot.desktop"
   install -vDm 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
   install -vDm 644 -t "${pkgdir}/usr/share/man/man1" "ncspot.1"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ncspot/-/commit/593e5e1cff5345792310d9c3304dfb985ff43c33

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ncspot/-/commit/593e5e1cff5345792310d9c3304dfb985ff43c33
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to