main/ntfs-3g: move library from /lib to /usr/lib

This commit is contained in:
Pablo Correa Gómez 2024-09-09 16:16:52 +02:00 committed by Natanael Copa
parent d3abe30d43
commit 8e7bf42409

View file

@ -4,7 +4,7 @@
pkgname=ntfs-3g
_pkgreal=ntfs-3g_ntfsprogs
pkgver=2022.10.3
pkgrel=3
pkgrel=4
pkgdesc="Stable, full-featured, read-write NTFS"
url="https://www.tuxera.com/company/open-source/"
arch="all"
@ -51,17 +51,20 @@ build() {
package() {
pkgdesc="$pkgdesc (driver)"
# the installation step detects /usr-merge, and forces install
# to /lib regardless of prefix. This line and the mv below could
# be removed once tsc#73 is implemented
mkdir -p "$pkgdir"/lib
make -j1 DESTDIR="$pkgdir" LDCONFIG=: install
ln -s /bin/ntfs-3g "$pkgdir"/sbin/mount.ntfs
mv "$pkgdir"/lib/* "$pkgdir"/usr/lib/
}
progs() {
pkgdesc="$pkgdesc (utilities)"
mkdir -p "$subpkgdir"/sbin
mv "$pkgdir"/usr "$pkgdir"/lib "$subpkgdir"/
rm -fr "$subpkgdir"/lib "$subpkgdir"/usr/lib
amove usr/bin
amove usr/sbin
}
sha512sums="