aboutsummaryrefslogtreecommitdiff
path: root/games/protontricks
diff options
context:
space:
mode:
Diffstat (limited to 'games/protontricks')
-rw-r--r--games/protontricks/doinst.sh (renamed from games/protontricks/doint.sh)0
-rw-r--r--games/protontricks/protontricks.SlackBuild10
2 files changed, 7 insertions, 3 deletions
diff --git a/games/protontricks/doint.sh b/games/protontricks/doinst.sh
index 5fb28930db0b9..5fb28930db0b9 100644
--- a/games/protontricks/doint.sh
+++ b/games/protontricks/doinst.sh
diff --git a/games/protontricks/protontricks.SlackBuild b/games/protontricks/protontricks.SlackBuild
index a7b0d899f3fa9..89b6b83b6eccc 100644
--- a/games/protontricks/protontricks.SlackBuild
+++ b/games/protontricks/protontricks.SlackBuild
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220505 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - rename doint.sh to doinst.sh, and actually install it in $PKG/install.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=protontricks
VERSION=${VERSION:-1.8.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,9 +75,9 @@ 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 \
+ -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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
zcat $CWD/protontricks-1.8.0_no-setuptools-scm.patch | patch -p1 || exit
@@ -89,6 +92,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE