summaryrefslogtreecommitdiffstats
path: root/desktop/gxkb/gxkb.SlackBuild
diff options
context:
space:
mode:
author NK <nk-man@yandex.ru>2015-03-29 14:30:45 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-29 14:30:45 +0700
commitdc653d708e3fcaf6be846b812c8bdaa22a8c5125 (patch)
tree1c10f8669fc1e980642e0bd73c85b7a728f6c6af /desktop/gxkb/gxkb.SlackBuild
parent789875939813686a7dfec058a28a7f538100d012 (diff)
downloadslackbuilds-dc653d708e3fcaf6be846b812c8bdaa22a8c5125.tar.gz
slackbuilds-dc653d708e3fcaf6be846b812c8bdaa22a8c5125.tar.xz
desktop/gxkb: Updated for version 0.7.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gxkb/gxkb.SlackBuild')
-rw-r--r--desktop/gxkb/gxkb.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/desktop/gxkb/gxkb.SlackBuild b/desktop/gxkb/gxkb.SlackBuild
index 4f22f4dcee..23b64c7306 100644
--- a/desktop/gxkb/gxkb.SlackBuild
+++ b/desktop/gxkb/gxkb.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gxkb
-VERSION=${VERSION:-0.7.4}
+VERSION=${VERSION:-0.7.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,8 +69,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-APPINDICATOR="--enable-appindicator=no"
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -81,7 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
- $APPINDICATOR
+ --enable-appindicator=no
make
make install DESTDIR=$PKG
@@ -89,13 +87,12 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-install -Dm 644 ./debian/gxkb.desktop $PKG/usr/share/applications/gxkb.desktop
-install -Dm 644 ./debian/gxkb.xpm $PKG/usr/share/pixmaps/gxkb.xpm
-
-install -Dm 644 ./debian/gxkb.1 $PKG/usr/man/man1/gxkb.1
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+install -Dm 644 ./debian/gxkb.desktop $PKG/usr/share/applications/gxkb.desktop
+install -Dm 644 ./debian/gxkb.xpm $PKG/usr/share/pixmaps/gxkb.xpm
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING CREDITS NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild