# Contributor: Mari Hahn # Contributor: Sören Tempel # Maintainer: pkgname=tint2 pkgver=0.12.3 pkgrel=0 pkgdesc="tint2 is a simple unintrusive panel/taskbar" url="https://gitlab.com/o9000/tint2" arch="all" license="GPL2" depends="imlib2 glib pango cairo libxcomposite libxdamage libxinerama libxrandr gtk+" depends_dev="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" makedepends="$depends_dev" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://gitlab.com/o9000/${pkgname}/repository/archive.tar.gz?ref=${pkgver}" _builddir="$srcdir"/$pkgname-$pkgver-5f4154408953a75458e7c5125ef3b9fdfe86ff0a build() { cd "$_builddir" cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 } md5sums="b0ec14b4f0c9dfd61a6956be1b0cc01e tint2-0.12.3.tar.gz" sha256sums="7f1f7cdb8eecfaaac620589c327bf29def457a9d38cee587769c93aacd2a3e36 tint2-0.12.3.tar.gz" sha512sums="f847691e2b9ba9148374fe24836655d25ef05ae9a04525593d4595d647e404c68b619308a0b9da77ccc9b2633547bec16b57e77b859a56161ca91754bbd8416e tint2-0.12.3.tar.gz"