makedeb


polybar 3.6.3-1


A fast and easy-to-use status bar

Click here to go back to the commit logs for polybar.

Commit:


Hash: 02c624dfcd8e1399c0979587fc2f24c3467a7278

Message: Bugfix 3

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 592b525..fbdd11d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -26,7 +26,10 @@ pkgbase = polybar
 	makedepends = libiw-dev
 	makedepends = libcurl4-openssl-dev
 	makedepends = libpulse-dev
+	makedepends = libjsoncpp-dev
 	conflicts = polybar-git
+	replaces = polybar
+	replaces = polybar-git
 	source = https://github.com/polybar/polybar/releases/download/3.5.6/polybar-3.5.6.tar.gz
 	sha256sums = dfe602fc6ac96eac2ae0f5deb2f87e0dd1f81ea5d0f04ad3b3bfd71efd5cc038
 
diff --git a/PKGBUILD b/PKGBUILD
index 58cd26d..2582fb4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,3 +1,4 @@
+#Maintainer: Tux <tux@hardwaretisch.de>
 pkgname=polybar
 pkgver=3.5.6
 pkgrel=1
@@ -5,17 +6,19 @@ pkgdesc="A fast and easy-to-use status bar"
 arch=("i686" "x86_64")
 url="https://github.com/polybar/polybar"
 license=("MIT")
-makedepends=("cmake" "cmake-data" "libcairo2-dev" "libxcb1-dev" "libxcb-ewmh-dev" "libxcb-icccm4-dev" "libxcb-image0-dev" "libxcb-randr0-dev" "libxcb-util0-dev" "libxcb-xkb-dev" "pkg-config" "python-xcbgen" "xcb-proto" "libxcb-xrm-dev" "i3-wm" "libasound2-dev" "libmpdclient-dev" "libiw-dev" "libcurl4-openssl-dev" "libpulse-dev")
-conflicts=("polybar-git")
+makedepends=('cmake' 'cmake-data' 'libcairo2-dev' 'libxcb1-dev' 'libxcb-ewmh-dev' 'libxcb-icccm4-dev' 'libxcb-image0-dev' 'libxcb-randr0-dev' 'libxcb-util0-dev' 'libxcb-xkb-dev' 'pkg-config' 'python-xcbgen' 'xcb-proto' 'libxcb-xrm-dev' 'i3-wm' 'libasound2-dev' 'libmpdclient-dev' 'libiw-dev' 'libcurl4-openssl-dev' 'libpulse-dev' 'libjsoncpp-dev')
+conflicts=('polybar-git')
+replaces=('polybar' 'polybar-git')
 source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
 sha256sums=('dfe602fc6ac96eac2ae0f5deb2f87e0dd1f81ea5d0f04ad3b3bfd71efd5cc038')
 _dir="${pkgname}-${pkgver}"
 
-prepare() {
-	mkdir -p "$(_dir)/build"
-}
+#prepare() {
+	#mkdir -p "${_dir}/build"
+#}
 
 build() {
+	mkdir -p "${_dir}/build"
 	cd ${_dir}/build || exit 1
 	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
 	cmake build .