void-packages/srcpkgs/cbatticon/template

32 lines
995 B
Bash
Raw Normal View History

2022-08-24 18:17:28 +02:00
# Template file for 'cbatticon'
pkgname=cbatticon
version=1.6.13
revision=2
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="gettext pkg-config"
makedepends="gtk+3-devel libnotify-devel"
short_desc="Lightweight and fast battery icon that sits in your systray"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/valr/cbatticon"
changelog="https://raw.githubusercontent.com/valr/cbatticon/master/Changelog"
distfiles="https://github.com/valr/cbatticon/archive/${version}.tar.gz"
checksum=87c6dae4a20dcfbf4897b110a7c5105fa8cf10de74b19e128b0cfd6212c55098
post_install() {
mv ${DESTDIR}/usr/share/doc/cbatticon-${version} ${DESTDIR}/usr/share/doc/cbatticon
}
cbatticon-gtk2_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="${sourcepkg}>=${version}_${revision}"
}
cbatticon-gtk3_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="${sourcepkg}>=${version}_${revision}"
}