diff options
-rw-r--r-- | desktop/polybar/polybar.SlackBuild | 6 | ||||
-rw-r--r-- | desktop/polybar/polybar.info | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/desktop/polybar/polybar.SlackBuild b/desktop/polybar/polybar.SlackBuild index c2e6b4cb72d6..b86a3cabea75 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 89b86cf3a60e..a3ecf5608be5 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 \ |