2016-03-30 15:59:44 +02:00
|
|
|
# Description: Lightweight panel/taskbar.
|
|
|
|
# URL: https://gitlab.com/o9000/tint2
|
2009-12-30 09:04:51 +01:00
|
|
|
# Packager: Vitaly Sinilin, vs at kp4 dot ru
|
2016-03-30 15:59:44 +02:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Depends on: cmake imlib2 librsvg ninja startup-notification xorg-libxdamage
|
2009-12-30 09:04:51 +01:00
|
|
|
|
|
|
|
name=tint2
|
2016-05-11 15:48:14 +02:00
|
|
|
version=0.12.10
|
2016-03-30 15:59:44 +02:00
|
|
|
release=1
|
|
|
|
source=(http://crux.ster.zone/downloads/$name/$name-$version.tar.gz)
|
|
|
|
#source=(https://gitlab.com/o9000/tint2/repository/archive.tar.gz?ref=$version)
|
2009-12-30 09:04:51 +01:00
|
|
|
|
|
|
|
build() {
|
2016-05-11 15:48:14 +02:00
|
|
|
cd $name-$version-*
|
2009-12-30 09:04:51 +01:00
|
|
|
|
2016-03-30 15:59:44 +02:00
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DENABLE_BATTERY=ON \
|
|
|
|
-DENABLE_EXAMPLES=OFF \
|
|
|
|
-DENABLE_TINT2CONF=OFF \
|
|
|
|
-DSYSCONFDIR=/usr/etc \
|
|
|
|
-G Ninja
|
2013-08-07 23:55:02 +02:00
|
|
|
|
2016-03-30 15:59:44 +02:00
|
|
|
ninja
|
|
|
|
DESTDIR=$PKG ninja install
|
2009-12-30 09:04:51 +01:00
|
|
|
|
2016-03-30 15:59:44 +02:00
|
|
|
rm -rf $PKG/usr/share/{doc,locale}
|
2009-12-30 09:04:51 +01:00
|
|
|
}
|