mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/qt3: Minor script tweak.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
9a5ec2b84d
commit
2be7ee234b
1 changed files with 15 additions and 13 deletions
|
@ -29,13 +29,8 @@
|
|||
# This is based on the original SlackBuild from /extra/kde-compat in
|
||||
# Slackware 13.1
|
||||
|
||||
# Adapted for SlackBuilds.org by Niels Horn <email removed>
|
||||
# - moved building from /opt to $TMP
|
||||
# - included patch for new libpng (based on work by Stuart Winter)
|
||||
# Revision date 2012/08/09
|
||||
|
||||
# 20200226 bkw: quit spamming /root, no change to package
|
||||
# 20180209 bkw: fix download link, pkgs.fedoraproject.org is now toast.
|
||||
|
||||
# 20170324 bkw:
|
||||
# - take over maintenance.
|
||||
# - i486=>i586.
|
||||
|
@ -43,6 +38,11 @@
|
|||
# - minor fix: stripping -jN from MAKEFLAGS failed, if N>9 (or if
|
||||
# less than 9, with leading zero(es): -j05 for example).
|
||||
|
||||
# Adapted for SlackBuilds.org by Niels Horn <email removed>
|
||||
# - moved building from /opt to $TMP
|
||||
# - included patch for new libpng (based on work by Stuart Winter)
|
||||
# Revision date 2012/08/09
|
||||
|
||||
# TODO: fix these:
|
||||
#sbrun: WARNING: files altered outside the sandbox:
|
||||
#u /root/.qt/.qt_plugins_3.3rc.lock
|
||||
|
@ -113,14 +113,16 @@ patch -p1 < $CWD/qt3_gcc47.patch
|
|||
|
||||
# Make sure ownerships and permissions are sane:
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \+ -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \+
|
||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||
|
||||
# And here's what we are currently using. The "yes" agrees to the GPL, so don't run this script if you
|
||||
# don't agree. :-)
|
||||
# 20200226 bkw: don't write to /root/.qt, keep it all in the sandbox.
|
||||
# This doesn't change the resulting package, so BUILD stays the same.
|
||||
export CCACHE_DIR=${CCACHE_DIR:-$HOME/.ccache}
|
||||
export HOME=$( pwd )
|
||||
|
||||
# And here's what we are currently using.
|
||||
# The "yes" agrees to the GPL, so don't run this script if you don't agree. :-)
|
||||
echo "yes" | \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
|
Loading…
Reference in a new issue