Package Details: sononym 1.5.6-2

Git Clone URL: https://aur.archlinux.org/sononym.git (read-only, click to copy)
Package Base: sononym
Description: Audio sample manager and categorizer
Upstream URL: https://www.sononym.net
Licenses: custom:sononym
Submitter: bruh
Maintainer: bruh (pinkstringmachin, tkna)
Last Packager: pinkstringmachin
Votes: 0
Popularity: 0.000000
First Submitted: 2023-05-11 08:38 (UTC)
Last Updated: 2024-11-02 20:21 (UTC)

Latest Comments

tippfehlr commented on 2024-10-22 11:37 (UTC) (edited on 2024-10-22 11:38 (UTC) by tippfehlr)

The package doesn’t work because it links against $pkgdir. And as already said the files should be packaged to /opt/sononym.

 package() {
     install -Dm 644 "logo.svg" "$pkgdir/usr/share/pixmaps/sononym.svg"
     install -Dm 644 "sononym.desktop" "$pkgdir/usr/share/applications/sononym.desktop"

-    d="$pkgdir/usr/share/sononym-${pkgver}"
-    cd "$srcdir/sononym-${pkgver}"
-    mkdir -p "$d"
-    cp -r * "$d"
-    mkdir -p "$pkgdir/usr/bin"
-    ln -s "$d/sononym" "$pkgdir/usr/bin/sononym"
+    cd sononym-$pkgver
+    mkdir -p "$pkgdir/opt/sononym/"
+    mkdir -p "$pkgdir/usr/bin/"
+    cp -r * "$pkgdir/opt/sononym/"
+    ln -s "/opt/sononym/sononym" "$pkgdir/usr/bin/sononym"

     # copy custom license:
     # https://wiki.archlinux.org/index.php/PKGBUILD#license

tkna commented on 2024-09-27 17:04 (UTC) (edited on 2024-09-27 17:05 (UTC) by tkna)

@nimius Are you sure about that? Sorry if I am wrong, but there are many related files besides /usr/bin/sononym. You can't put the directory under /usr/bin/, and deploying the related files in the AUR helper cache directory is also wrong. It seems to me that it is correct to deploy them under /opt/, for example. Is it safe to put *.so etc. under /usr/share/sononym/ when there are no sononym files there? Don't they have to be in the same directory? https://wiki.archlinux.org/title/Arch_package_guidelines#Directories | https://www.sononym.net/docs/installation/linux/

nimius commented on 2024-09-27 11:19 (UTC)

@tkna: You have to edit the PKGBUILD. In line 26 there is a 'ln -s'. replace that with 'cp' and then run 'makepkg -si' and you're good to go.

tkna commented on 2024-09-16 09:01 (UTC) (edited on 2024-09-16 10:09 (UTC) by tkna)

Thanks for the maintenance. Unfortunately, I cannot run sononym. The symbolic link destination of /usr/bin/sononym as a deployment destination seems to be deleted https://0x0.st/X38O.txt . I am not familiar with the PKGBUILD guidelines, but I think it would be better to deploy to something like /opt/sononym/sononym and symlink to it. Thank you in advance for your help and support.