libdir drop custom directory
This commit is contained in:
1 parent
5a3009dd0d
commit
de4e838a9e
46 files changed
+70
-200
No files matched your search
@@ -18,13 +18,10 @@ arch=('x86_64')
|
||||
cd $name-$version
|
||||
|
||||
build(){
|
||||
make DYNAMIC=yes KERNEL_HEADERS=/usr/include lib=lib64/libcap prefix=/usr
|
||||
make DYNAMIC=yes KERNEL_HEADERS=/usr/include lib=lib64 prefix=/usr
|
||||
}
|
||||
|
||||
package(){
|
||||
make RAISE_SETFCAP=no lib=lib64/libcap prefix=/usr install
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libcap/" > ${DESTDIR}/etc/ld.so.conf.d/libcap.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user