contrib/tint2/Pkgfile

25 lines
720 B
Plaintext
Raw Normal View History

2016-03-30 15:59:44 +02:00
# Description: Lightweight panel/taskbar.
# URL: https://gitlab.com/o9000/tint2
# Maintainer: Danny Rawlins, crux at romster dot me
2019-10-05 11:27:33 +02:00
# Depends on: imlib2 librsvg startup-notification xorg-libxcomposite xorg-libxdamage xorg-libxinerama xorg-libxrandr
2009-12-30 09:04:51 +01:00
name=tint2
2021-12-11 14:52:45 +01:00
version=17.0.2
2016-03-30 15:59:44 +02:00
release=1
2018-08-15 13:57:35 +02:00
source=(https://gitlab.com/o9000/$name/-/archive/v$version/$name-v$version.tar.bz2)
2009-12-30 09:04:51 +01:00
build() {
2020-11-08 13:47:13 +01:00
cmake -S $name-v$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
2020-12-07 01:07:37 +01:00
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
2020-11-08 13:47:13 +01:00
-D ENABLE_TINT2CONF=OFF \
-Wno-dev
2020-11-07 18:01:12 +01:00
cmake --build build -j ${JOBS:-1}
DESTDIR=$PKG cmake --install build
2009-12-30 09:04:51 +01:00
2017-08-16 13:45:47 +02:00
rm -r $PKG/{etc,usr/share/doc}
2009-12-30 09:04:51 +01:00
}