summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorAzure Zanculmarktum <zanculmarktum@gmail.com>2019-07-04 08:02:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-04 08:02:26 +0700
commit47abbe9445d326e295f878d324cc8c865dec9d1f (patch)
tree152b11e1069efbff9d8dee1bd046ffc32f83a37d /desktop
parentbc2a69d88b449874d9963e72932d3f337e45b3a8 (diff)
downloadslackbuilds-47abbe9445d326e295f878d324cc8c865dec9d1f.tar.gz
desktop/polybar: Updated for version 3.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/polybar/polybar.SlackBuild6
-rw-r--r--desktop/polybar/polybar.info6
2 files changed, 8 insertions, 4 deletions
diff --git a/desktop/polybar/polybar.SlackBuild b/desktop/polybar/polybar.SlackBuild
index c2e6b4cb72..b86a3cabea 100644
--- a/desktop/polybar/polybar.SlackBuild
+++ b/desktop/polybar/polybar.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=polybar
-VERSION=${VERSION:-3.1.0}
+VERSION=${VERSION:-3.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,8 +77,12 @@ find -L . \
# Fixes install location
sed -i -e '/share\/doc\/polybar/s/share\///' doc/CMakeLists.txt
+sed -i -e "/DESTINATION doc\/polybar/s/polybar/$PRGNAM-$VERSION/" doc/CMakeLists.txt
sed -i -e '/share\/man\/man1/s/share\///' man/CMakeLists.txt
+# Fixes version
+sed -i -e "/execute_process(COMMAND git describe --tags --dirty=-git/s/git.*/echo $VERSION/" include/CMakeLists.txt
+
mkdir -p build
cd build
cmake \
diff --git a/desktop/polybar/polybar.info b/desktop/polybar/polybar.info
index 89b86cf3a6..a3ecf5608b 100644
--- a/desktop/polybar/polybar.info
+++ b/desktop/polybar/polybar.info
@@ -1,7 +1,7 @@
PRGNAM="polybar"
-VERSION="3.1.0"
-HOMEPAGE="https://github.com/jaagr/polybar"
-DOWNLOAD="https://github.com/jaagr/polybar/archive/3.1.0/polybar-3.1.0.tar.gz \
+VERSION="3.3.1"
+HOMEPAGE="https://github.com/polybar/polybar"
+DOWNLOAD="https://github.com/polybar/polybar/archive/3.3.1/polybar-3.3.1.tar.gz \
https://github.com/jaagr/i3ipcpp/archive/v0.7.0/i3ipcpp-0.7.0.tar.gz \
https://github.com/jaagr/xpp/archive/1.4.0/xpp-1.4.0.tar.gz"
MD5SUM="2c45bc25c0e7e9eee8af451fbd1e334f \