forked from ports/contrib
25 lines
769 B
Plaintext
25 lines
769 B
Plaintext
# Description: Lightweight panel/taskbar.
|
|
# URL: https://gitlab.com/nick87720z/tint2
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: imlib2 librsvg startup-notification xorg-libxcomposite xorg-libxdamage xorg-libxinerama xorg-libxrandr
|
|
|
|
name=tint2
|
|
version=17.1.3
|
|
release=1
|
|
source=(https://gitlab.com/nick87720z/tint2/-/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cmake -S $name-v$version-57e96cee7c98c0f272befd34fd959964052e51c4 -B build -G Ninja \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
|
-D ENABLE_TINT2CONF=OFF \
|
|
-Wno-dev
|
|
|
|
cmake --build build -j ${JOBS:-1}
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
rm -r $PKG/{etc,usr/share/doc}
|
|
}
|