summaryrefslogtreecommitdiff
path: root/skip/polybar.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-20 22:40:49 +0000
committerdavidovski <david@davidovski.xyz>2022-04-20 22:40:49 +0000
commit1084afc3c4d9c83e61620de60ba59a4393a33cb0 (patch)
tree17b2e37df0f1d61a83566fda5f707faffab54628 /skip/polybar.xibuild
parentc35d083dc525e223b085ec00e6863ea6eafb003c (diff)
fixed create to work within env
Diffstat (limited to 'skip/polybar.xibuild')
-rw-r--r--skip/polybar.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/skip/polybar.xibuild b/skip/polybar.xibuild
new file mode 100644
index 0000000..9c07012
--- /dev/null
+++ b/skip/polybar.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="cairo xcb-util-image xcb-util-wm xcb-util-xrm xcb-util-cursor alsa-lib libpulse libmpdclient libnl jsoncpp curl"
+
+PKG_VER=3.5.7
+SOURCE=https://github.com/polybar/polybar/releases/download/$PKG_VER/polybar-$PKG_VER.tar.gz
+
+DESC="A fast and easy status bar"
+
+build () {
+ mkdir build &&
+ cd build
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
+ cmake --build .
+
+ cd ..
+}
+
+package () {
+ cmake --build "build" --target install -- DESTDIR=$PKG_DEST
+
+}