void-packages/srcpkgs/i3status/template

28 lines
753 B
Plaintext

# Template file for 'i3status'
pkgname=i3status
version=2.7
revision=1
build_style=gnu-makefile
makedepends="asciidoc yajl-devel confuse-devel wireless_tools-devel alsa-lib-devel"
short_desc="Generates status bar to use with dzen2 or xmobar"
maintainer="davehome <davehome@redthumb.info.tm>"
license="BSD"
homepage="http://i3.zekjur.net/i3status/"
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
checksum=073f4e5de3bc5afc1f23c52ea52e2aa4b90ca8a012f28ba2c5fac3c33474a632
post_install() {
# detect dhcpcd.
sed -i -e "s#dhclient#dhcpcd#g" ${DESTDIR}/etc/i3status.conf
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
i3status_package() {
conf_files="/etc/i3status.conf"
depends="libcap-progs"
pkg_install() {
vmove etc
vmove usr
}
}