mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-25 21:59:36 +01:00
gksu: Switch to mate-terminal.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
cae9b8cf79
commit
87d19a500b
2 changed files with 8 additions and 4 deletions
3
deps/gksu/doinst.sh
vendored
Normal file
3
deps/gksu/doinst.sh
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
|
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||||
|
fi
|
9
deps/gksu/gksu.SlackBuild
vendored
9
deps/gksu/gksu.SlackBuild
vendored
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for gksu
|
# Slackware build script for gksu
|
||||||
|
|
||||||
# Copyright 2013-2014 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=gksu
|
PRGNAM=gksu
|
||||||
VERSION=${VERSION:-2.0.2}
|
VERSION=${VERSION:-2.0.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -37,8 +37,6 @@ fi
|
||||||
|
|
||||||
wget -c http://people.debian.org/~kov/gksu/$PRGNAM-$VERSION.tar.gz
|
wget -c http://people.debian.org/~kov/gksu/$PRGNAM-$VERSION.tar.gz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
@ -73,6 +71,8 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -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 {} \;
|
||||||
|
|
||||||
|
sed -i -e 's|/usr/bin/x-terminal-emulator|-l mate-terminal|g' gksu.desktop
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
@ -115,6 +115,7 @@ chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
|
||||||
|
|
Loading…
Reference in a new issue