summaryrefslogtreecommitdiff
path: root/tint2/Pkgfile
blob: 626d05fe52e6d8f52689ef75231b2204da14af34 (plain)
    1 # Description: Lightweight panel/taskbar.
    2 # URL: https://gitlab.com/o9000/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=16.7
    8 release=1
    9 source=(https://gitlab.com/o9000/$name/-/archive/v$version/$name-v$version.tar.bz2)
   10 
   11 build() {
   12 	cd $name-v$version
   13 
   14 	mkdir build
   15 	cd build
   16 
   17 	cmake .. \
   18 		-DCMAKE_INSTALL_PREFIX=/usr \
   19 		-DCMAKE_BUILD_TYPE=Release \
   20 		-DENABLE_TINT2CONF=OFF \
   21 		-G Ninja
   22 
   23 	ninja -j ${JOBS:-1}
   24 	DESTDIR=$PKG ninja install
   25 
   26 	rm -r $PKG/{etc,usr/share/doc}
   27 }

Generated by cgit