This commit is contained in:
sulincix committed 2023-05-21 20:45:59 +00:00
1 parent 4e0462d190
commit ddc0217fc8
11 files changed
+56 -122

No files matched your search

+5 -7
View File
@@ -17,10 +17,10 @@ arch=('x86_64')
cd $name-$version
setup(){
make configure
#export OPTIMIZER="-march=${CARCH/_/-} -O1"
export DEBUG=-DNDEBUG
./configure --prefix=/usr --libdir=/usr/lib64/ --sbindir=/usr/bin
make configure
./configure --prefix=/usr \
--libdir=/usr/lib64/ \
--sbindir=/usr/sbin
}
@@ -30,9 +30,7 @@ build(){
package(){
# make install $jobs
make DIST_ROOT="${DESTDIR}" PKG_ROOT_SBIN_DIR="/usr/bin" install install-dev
chown -R root "$DESTDIR"
chgrp -R root "$DESTDIR"
make DIST_ROOT="${DESTDIR}" PKG_ROOT_SBIN_DIR="/usr/sbin" install install-dev
# add hack as we cannot set rootlibdir
mv "${DESTDIR}"/lib64/libhandle.so* "${DESTDIR}/usr/lib64/"
rm -rf "${DESTDIR}/lib64"