# Contributor: Mari Hahn # Contributor: Sören Tempel # Maintainer: Francesco Colista pkgname=tint2 pkgver=15.3 _gitver="d8770ed590b6a8af6345a1a6644e111a62ce3755" pkgrel=0 pkgdesc="tint2 is a simple unintrusive panel/taskbar" url="https://gitlab.com/o9000/tint2" arch="all" license="GPL-2.0" options="!check" depends="imlib2 glib pango cairo libxcomposite libxdamage libxinerama libxrandr gtk+" makedepends="cmake imlib2-dev glib-dev pango-dev cairo-dev libxcomposite-dev libxdamage-dev libxinerama-dev libxrandr-dev gtk+-dev librsvg-dev startup-notification-dev linux-headers" subpackages="$pkgname-doc $pkgname-lang" source="$pkgname-$pkgver.tar.bz2::https://gitlab.com/o9000/$pkgname/repository/v$pkgver/archive.tar.bz2" builddir="$srcdir"/$pkgname-v${pkgver}-$_gitver prepare() { cd "$builddir" mkdir -p build } build() { cd "$builddir"/build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_SYSCONFDIR=/etc \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ .. make } package() { cd "$builddir"/build make DESTDIR="${pkgdir}" install } sha512sums="b00bd54c07e8325a3ebb80526b393d6056523924dfbd834ed49969c07ef4117583f328e81eb362660e51ca5ee5c2853ede0fbffc406c52318fa83f2c9abdd319 tint2-15.3.tar.bz2"