Update gtk3-tqt-engine.SlackBuild

pull/7/head
Thorn Inurcide 7 years ago committed by GitHub
parent d723694957
commit 56fe992c28

@ -33,6 +33,11 @@ getsource_fn
untar_fn
## install theme engine to lib$LIBDIRSUFFIX
sed -i 's|/lib/|/lib$(LIBDIRSUFFIX)/|' tdegtk/Makefile.am
## remove redundant KDE_INCLUDES which is null if installing to /usr and causes a '/tde not found' error
sed -i 's| $(KDE_INCLUDES)/tde||' {tdegtk,tests}/Makefile.am
listdocs_fn
ltoolupdate_fn
@ -53,11 +58,6 @@ CXX=${COMPILER_CXX} \
make_fn
# can't figure out why installation of theme engines is to usr/lib and not usr/lib$LIBDIRSUFFIX
# where in the source/build is this set up?
mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
sed -i "s|lib/gtk-3.0|lib$LIBDIRSUFFIX/gtk-3.0|" $PKG/usr/lib$LIBDIRSUFFIX/gtk-3.0/3.0.0/theming-engines/libtdegtk.la
installdocs_fn
strip_fn
@ -91,8 +91,6 @@ cat <<EOINS >> $PKG/install/doinst.sh
if [ -x usr/bin/update-desktop-database ]; then
chroot . /usr/bin/update-desktop-database ${INSTALL_TDE}/share/applications > /dev/null 2>&1
fi
EOINS
makepkg_fn

Loading…
Cancel
Save