contrib/tint2/Pkgfile

26 lines
604 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
2017-08-16 13:45:47 +02:00
# Depends on: gtk imlib2 librsvg ninja startup-notification xorg-xrandr
2009-12-30 09:04:51 +01:00
name=tint2
2017-10-13 11:19:48 +02:00
version=15.2
2016-03-30 15:59:44 +02:00
release=1
2017-08-16 13:45:47 +02: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 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 \
2017-08-16 13:45:47 +02:00
-DCMAKE_BUILD_TYPE=Release \
2016-03-30 15:59:44 +02:00
-DENABLE_TINT2CONF=OFF \
-G Ninja
2016-03-30 15:59:44 +02:00
ninja
DESTDIR=$PKG ninja install
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
}