diff options
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 \ |