123456789101112131415161718192021222324252627 |
- # Description: Lightweight panel/taskbar.
- # URL: https://gitlab.com/nick87720z/tint2
- # Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
- # Depends on: imlib2 librsvg startup-notification xorg-libxcomposite xorg-libxdamage xorg-libxinerama xorg-libxrandr
- # originally found at contrib repo, by John McQuah, jmcquah at disroot dot org (with slight mods).
- name=tint2
- version=17.1.3
- release=2
- source=(https://gitlab.com/nick87720z/$name/-/archive/$version/$name-$version.tar.bz2)
- build() {
- cmake -S $name-$version -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=ON \
- -Wno-dev
- ninja -C build -j ${JOBS:-1}
- DESTDIR=$PKG ninja -C build install
- rm -rf $PKG/{etc,usr/share/doc,usr/share/locale/}
- }
|