void-packages/srcpkgs/tint2/template
2022-02-01 22:16:39 +01:00

30 lines
1.1 KiB
Bash

# Template file for 'tint2'
pkgname=tint2
version=17.0.2
revision=1
wrksrc="tint2-v${version}"
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=None"
hostmakedepends="pkg-config gettext"
makedepends="gtk+3-devel imlib2-devel librsvg-devel libXcomposite-devel
libXdamage-devel libXinerama-devel libXrandr-devel startup-notification-devel"
depends="desktop-file-utils"
short_desc="Simple panel/taskbar made for modern X window managers"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://gitlab.com/o9000/tint2"
changelog="https://gitlab.com/o9000/tint2/-/raw/master/ChangeLog"
distfiles="https://gitlab.com/o9000/tint2/-/archive/v${version}/tint2-v${version}.tar.bz2"
checksum=329de800a82faa92b3d4c3afb76351e41b22de29fbcdae8a9eb3984a38eba65c
tint2conf_package() {
short_desc+=" - configuration tools"
depends="tint2>=${version}_${revision}"
pkg_install() {
vmove usr/bin/tint2conf
vmove usr/share/applications/tint2conf.desktop
vmove usr/share/icons/hicolor/scalable/apps/tint2conf.svg
vmove usr/share/locale
vmove usr/share/mime
}
}