summaryrefslogtreecommitdiff
path: root/desktop/xfce4-battery-plugin/xfce4-battery-plugin.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-02-10 21:08:07 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 00:29:34 +0700
commit5a67c2d6277f99d8948edf67e41764959e88c420 (patch)
tree267af0b5d87332c2a85c42815ddd7be8416d104a /desktop/xfce4-battery-plugin/xfce4-battery-plugin.SlackBuild
parente7efe45ef6ab42f79146d84e3e41962a33248d9b (diff)
downloadslackbuilds-5a67c2d6277f99d8948edf67e41764959e88c420.tar.gz
desktop/xfce4-battery-plugin: Updated for version 1.1.4.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/xfce4-battery-plugin/xfce4-battery-plugin.SlackBuild')
-rw-r--r--desktop/xfce4-battery-plugin/xfce4-battery-plugin.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/desktop/xfce4-battery-plugin/xfce4-battery-plugin.SlackBuild b/desktop/xfce4-battery-plugin/xfce4-battery-plugin.SlackBuild
index a0f261d7af..fa9b84827b 100644
--- a/desktop/xfce4-battery-plugin/xfce4-battery-plugin.SlackBuild
+++ b/desktop/xfce4-battery-plugin/xfce4-battery-plugin.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xfce4-battery-plugin
-# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xfce4-battery-plugin
-VERSION=${VERSION:-1.1.3}
+VERSION=${VERSION:-1.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,6 +79,7 @@ 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 {} \;
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -102,7 +103,7 @@ find $PKG -name perllocal.pod \
| xargs rm -f
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install