summaryrefslogtreecommitdiff
path: root/tint2/Pkgfile
blob: 410e9da5130414fb331745cfa6c5c923fa48ad0e (plain)
    1 # Description: Lightweight panel/taskbar.
    2 # URL: https://gitlab.com/nick87720z/tint2
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: imlib2 librsvg startup-notification xorg-libxcomposite xorg-libxdamage xorg-libxinerama xorg-libxrandr
    5 
    6 name=tint2
    7 version=17.1.3
    8 release=1
    9 source=(https://gitlab.com/nick87720z/tint2/-/archive/v$version/$name-$version.tar.gz)
   10 
   11 build() {
   12 	cmake -S $name-v$version-57e96cee7c98c0f272befd34fd959964052e51c4 -B build -G Ninja \
   13 		-D CMAKE_INSTALL_PREFIX=/usr \
   14 		-D CMAKE_BUILD_TYPE=Release \
   15 		-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
   16 		-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
   17 		-D ENABLE_TINT2CONF=OFF \
   18 		-Wno-dev
   19 
   20 	cmake --build build -j ${JOBS:-1}
   21 	DESTDIR=$PKG cmake --install build
   22 
   23 	rm -r $PKG/{etc,usr/share/doc}
   24 }

Generated by cgit