diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-08 01:10:12 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 09:35:14 +0700 |
commit | ce432ca8e3e780c213eed3f61f042cf929b3f917 (patch) | |
tree | 99303c9c54a665d2e907dbe82d5877c4fec0acf4 /desktop/mhsetroot/mhsetroot.SlackBuild | |
parent | d79cdc76b753f3f08b6016eadb1d778a3de7c1d1 (diff) |
desktop/mhsetroot: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/mhsetroot/mhsetroot.SlackBuild')
-rw-r--r-- | desktop/mhsetroot/mhsetroot.SlackBuild | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/desktop/mhsetroot/mhsetroot.SlackBuild b/desktop/mhsetroot/mhsetroot.SlackBuild index 7c1bf93dda58e..426321a3c055c 100644 --- a/desktop/mhsetroot/mhsetroot.SlackBuild +++ b/desktop/mhsetroot/mhsetroot.SlackBuild @@ -22,6 +22,19 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Now maintained by B. Watson <yalhcru@gmail.com>. + +# 20220208 bkw: BUILD=2 +# - take over maintenance. +# - install AUTHORS and COPYING to doc dir. + +# 20220208 bkw: There is a mhsetroot-2.0 on the sourceforge page, +# but it has issues. There is no documentatation at all (not even a +# README), it aborts with a double-free error every time it exits, +# it creates a "~/mhsetrootimage" when it runs (not in a dot dir), and +# its options are totally incompatible with 1.6.2's. Not updating to +# 2.0, but possibly the 2.x branch will mature someday. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mhsetroot @@ -38,9 +51,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -73,11 +83,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION 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 640 -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 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS -std=c++11" \ @@ -88,9 +95,10 @@ CXXFLAGS="$SLKCFLAGS -std=c++11" \ make make install-strip DESTDIR=$PKG -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a AUTHORS COPYING ChangeLog README $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |