--- mousepad.SlackBuild.orig 2026-11-14 06:42:06.917746826 -0600 +++ mousepad.SlackBuild 2026-11-14 06:42:06.946465328 -0600 @@ -25,6 +25,7 @@ PKGNAM=mousepad VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-2} +TAG=${TAG:-_pmagic} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -41,7 +42,7 @@ # 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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + echo "$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.txz" exit 0 fi @@ -69,6 +70,9 @@ tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1 cd $PKGNAM-$VERSION || exit 1 +# Parted Magic: no root-account warning bar (the whole desktop runs as root). +patch -p1 --verbose < $CWD/mousepad-no-root-warning.patch || exit 1 + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -116,4 +120,4 @@ zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.txz