diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-12-29 20:34:54 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-12-30 08:59:52 +0100 |
commit | 651d40d6d3b5ec8921993052339ec463b4b507ef (patch) | |
tree | b1616d035f419f4455e6d4d334b41ee9640bfa9a /source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild | |
parent | eae3926cf3efec6fbc3ce2b7df32c2ac37f90c77 (diff) | |
download | current-651d40d6d3b5ec8921993052339ec463b4b507ef.tar.gz |
Tue Dec 29 20:34:54 UTC 202020201229203454
a/pkgtools-15.0-noarch-34.txz: Rebuilt.
installpkg: run doinst.sh in a subshell for NOLOCK packages.
removepkg: run uninstall scripts in a subshell.
This avoids a bug when handling multiple packages where these scripts might
be in the wrong directory when a new file/package is to be processed.
Thanks to Mario Preksavec.
ap/terminus-font-4.49.1-noarch-1.txz: Upgraded.
d/git-2.30.0-x86_64-1.txz: Upgraded.
d/python-setuptools-51.1.1-x86_64-1.txz: Upgraded.
l/libproxy-0.4.17-x86_64-1.txz: Upgraded.
l/netpbm-10.93.00-x86_64-1.txz: Upgraded.
l/openjpeg-2.4.0-x86_64-1.txz: Upgraded.
xap/hexchat-2.14.3-x86_64-5.txz: Rebuilt.
Compile using -Dwith-python=python3-embed instead of -Dwith-python=python3
to ensure that /usr/lib*/hexchat/plugins/python.so is linked with libpython,
otherwise the module will not load properly.
Thanks to Mario Preksavec.
xfce/xfce4-panel-profiles-1.0.12-x86_64-1.txz: Upgraded.
xfce/xfce4-taskmanager-1.4.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild')
-rwxr-xr-x | source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild b/source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild index 7ad0bf49..47ac305c 100755 --- a/source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild +++ b/source/xfce/xfce4-panel-profiles/xfce4-panel-profiles.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=xfce4-panel-profiles VERSION=${VERSION:-$(echo xfce4-panel-profiles-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -80,13 +80,14 @@ find . \ # Configure, build, and install: CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure --prefix=/usr --python=python3 || exit 1 +./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PKGNAM-$VERSION \ + --python=python3 || exit 1 make $NUMJOBS || exit 1 make install DESTDIR=$PKG || exit 1 -# Relocate man pages: -mv $PKG/usr/share/man $PKG/usr - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null @@ -105,13 +106,6 @@ if [ -d $PKG/usr/man ]; then ) fi -rm -rf $PKG/usr/share/doc -mkdir -p $PKG/usr/doc/xfce4-panel-profiles-$VERSION -cp -a \ - AUTHORS COPYING* NEWS README* TODO \ - $PKG/usr/doc/xfce4-panel-profiles-$VERSION -# If there's a ChangeLog, installing at least part of the recent history -# is useful, but don't let it get totally out of control: if [ -r ChangeLog ]; then DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog |