added polybar package
This commit is contained in:
parent
301ead7d09
commit
ab4baddf8b
|
@ -0,0 +1,29 @@
|
|||
# Description: A fast and easy-to-use status bar
|
||||
# URL: https://github.com/polybar/polybar
|
||||
# Maintainer: Alexander Zhirov
|
||||
# Depends on: cairo xorg-xcb-util-image xorg-xcb-util-wm xcb-util-xrm xorg-xcb-util-cursor cmake git python python3 pkg-config
|
||||
|
||||
name=polybar
|
||||
version=3.7.1
|
||||
release=1
|
||||
|
||||
source=(
|
||||
https://github.com/polybar/polybar/releases/download/${version}/${name}-${version}.tar.gz
|
||||
)
|
||||
|
||||
build() {
|
||||
|
||||
cd $name-$version
|
||||
|
||||
cmake \
|
||||
-Bbuild \
|
||||
-GNinja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_DOC_HTML=OFF \
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DBUILD_DOC=OFF
|
||||
|
||||
cmake --build build --verbose
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
Loading…
Reference in New Issue