main/attr: move library from /lib to /usr/lib

And in the process use the standard configure calls. The programs that
use libattr as a dependency, are already installed under /usr. So
there's no point in having this one directly under /lib
This commit is contained in:
Pablo Correa Gómez 2024-09-12 14:42:31 +02:00 committed by Natanael Copa
parent 0c3c75c8e8
commit 40760f1909

View file

@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=attr
pkgver=2.5.2
pkgrel=1
pkgrel=2
pkgdesc="utilities for managing filesystem extended attributes"
options="checkroot !check" # attr.test fails with no error message
url="https://savannah.nongnu.org/projects/attr"
@ -17,16 +17,10 @@ build() {
./configure \
--build="$CBUILD" \
--host="$CHOST" \
--prefix=/ \
--exec-prefix=/ \
--sbindir=/bin \
--bindir=/usr/bin \
--libdir=/lib \
--libexecdir=/usr/lib \
--includedir=/usr/include \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--docdir=/usr/share/doc/attr \
--datadir=/usr/share \
--localstatedir=/var \
--disable-nls
make
}
@ -37,9 +31,6 @@ check() {
package() {
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/lib
mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib
}
dev() {