Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages / wlroots0.16
Commits: b6779e35 by Frederik Schwan at 2023-11-22T18:20:01+01:00 fix so location - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = wlroots0.16 pkgdesc = Modular Wayland compositor library pkgver = 0.16.2 - pkgrel = 1 + pkgrel = 2 url = https://gitlab.freedesktop.org/wlroots/wlroots arch = x86_64 license = MIT ===================================== PKGBUILD ===================================== @@ -4,7 +4,7 @@ pkgname=wlroots0.16 pkgver=0.16.2 -pkgrel=1 +pkgrel=2 license=('MIT') pkgdesc='Modular Wayland compositor library' url='https://gitlab.freedesktop.org/wlroots/wlroots' @@ -72,4 +72,15 @@ build() { package() { DESTDIR="$pkgdir" ninja -C build install install -Dm644 "wlroots-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/" + + cd "${pkgdir}" + # Move libs to /usr/lib, except the .so symlinks + local f + for f in usr/lib/wlroots0.16/*; do + if [[ $f == *.so ]]; then + ln -srf -- usr/lib/"$(readlink "$f")" "$f" + elif [[ ! -d $f ]]; then + mv "$f" usr/lib + fi + done } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/wlroots0.16/-/commit/b6779e3540985f437058bc5d457250a1fa6b599a -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/wlroots0.16/-/commit/b6779e3540985f437058bc5d457250a1fa6b599a You're receiving this email because of your account on gitlab.archlinux.org.