2016-03-31 00:59:44 +11:00
|
|
|
# Description: Lightweight panel/taskbar.
|
|
|
|
# URL: https://gitlab.com/o9000/tint2
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2017-08-16 21:45:47 +10:00
|
|
|
# Depends on: gtk imlib2 librsvg ninja startup-notification xorg-xrandr
|
2009-12-30 09:04:51 +01:00
|
|
|
|
|
|
|
name=tint2
|
2017-10-13 20:19:48 +11:00
|
|
|
version=15.2
|
2016-03-31 00:59:44 +11:00
|
|
|
release=1
|
2017-08-16 21:45:47 +10:00
|
|
|
source=(http://crux.ster.zone/downloads/$name/$name-$version.tar.bz2)
|
|
|
|
#source=(https://gitlab.com/o9000/tint2/repository/archive.tar.bz2?ref=$version)
|
2009-12-30 09:04:51 +01:00
|
|
|
|
|
|
|
build() {
|
2016-05-11 23:48:14 +10:00
|
|
|
cd $name-$version-*
|
2009-12-30 09:04:51 +01:00
|
|
|
|
2016-03-31 00:59:44 +11:00
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-08-16 21:45:47 +10:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2016-03-31 00:59:44 +11:00
|
|
|
-DENABLE_TINT2CONF=OFF \
|
|
|
|
-G Ninja
|
2013-08-07 23:55:02 +02:00
|
|
|
|
2016-03-31 00:59:44 +11:00
|
|
|
ninja
|
|
|
|
DESTDIR=$PKG ninja install
|
2009-12-30 09:04:51 +01:00
|
|
|
|
2017-08-16 21:45:47 +10:00
|
|
|
rm -r $PKG/{etc,usr/share/doc}
|
2009-12-30 09:04:51 +01:00
|
|
|
}
|