summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2022-05-05 18:11:23 +0200
committer Willy Sudiarto Raharjo2022-05-07 08:59:19 +0200
commit9523691965a88f34c82ea368fa03caf80f3a46db (patch)
treec678e5fb63802f0755826d9e2cb3ffa4177161c0
parent700891633509347e5f7005c43b63894a710613cd (diff)
downloadslackbuilds-9523691965a88f34c82ea368fa03caf80f3a46db.tar.gz
games/protontricks: Fix doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 5fb28930db..5fb28930db 100644
--- a/games/protontricks/doint.sh
+++ b/games/protontricks/doinst.sh
diff --git a/games/protontricks/protontricks.SlackBuild b/games/protontricks/protontricks.SlackBuild
index a7b0d899f3..89b6b83b6e 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