26 lines
842 B
Plaintext
26 lines
842 B
Plaintext
# Description: taskbar designed for stacking Wayland compositors
|
|
# URL: https://github.com/LBCrion/sfwbar
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: gtk-layer-shell json-c
|
|
# Optional: alsa bluez iwd mpd pulseaudio
|
|
|
|
name=sfwbar
|
|
version=1.0_beta14
|
|
release=1
|
|
source=(https://github.com/LBCrion/$name/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
PKGMK_SFWBAR="--buildtype=release --prefix=/usr"
|
|
prt-get isinst bluez || PKGMK_SFWBAR+=" -D bluez=disabled"
|
|
prt-get isinst iwd || PKGMK_SFWBAR+=" -D iwd=disabled"
|
|
prt-get isinst mpd || PKGMK_SFWBAR+=" -D mpd=disabled"
|
|
prt-get isinst pulseaudio || PKGMK_SFWBAR+=" -D pulse=disabled"
|
|
|
|
cd $name-$version
|
|
meson setup build $PKGMK_SFWBAR
|
|
ninja -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
|
rm $PKG/usr/share/sfwbar/icons/weather/LICENSE
|
|
}
|