30 lines
718 B
Plaintext
30 lines
718 B
Plaintext
# 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
|
|
}
|