diff options
author | Azure Zanculmarktum <zanculmarktum@gmail.com> | 2019-07-04 08:02:26 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-07-04 08:02:26 +0700 |
commit | 47abbe9445d326e295f878d324cc8c865dec9d1f (patch) | |
tree | 152b11e1069efbff9d8dee1bd046ffc32f83a37d /desktop/polybar/polybar.SlackBuild | |
parent | bc2a69d88b449874d9963e72932d3f337e45b3a8 (diff) | |
download | slackbuilds-47abbe9445d326e295f878d324cc8c865dec9d1f.tar.gz |
desktop/polybar: Updated for version 3.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/polybar/polybar.SlackBuild')
-rw-r--r-- | desktop/polybar/polybar.SlackBuild | 6 |
1 files changed, 5 insertions, 1 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 \ |