void-packages/srcpkgs/i3status/template

39 lines
1.0 KiB
Plaintext
Raw Normal View History

# Template file for 'i3status'
pkgname=i3status
2013-04-01 16:11:39 +02:00
version=2.7
2013-05-06 14:36:08 +02:00
revision=2
2012-06-05 14:53:49 +02:00
build_style=gnu-makefile
2013-05-06 14:36:08 +02:00
hostmakedepends="asciidoc pkg-config"
makedepends="yajl-devel confuse-devel wireless_tools-devel alsa-lib-devel libcap-devel"
2013-04-01 16:11:39 +02:00
short_desc="Generates status bar to use with dzen2 or xmobar"
maintainer="davehome <davehome@redthumb.info.tm>"
license="BSD"
2013-04-01 16:11:39 +02:00
homepage="http://i3.zekjur.net/i3status/"
2012-06-05 14:53:49 +02:00
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
2013-04-01 16:11:39 +02:00
checksum=073f4e5de3bc5afc1f23c52ea52e2aa4b90ca8a012f28ba2c5fac3c33474a632
2013-05-06 14:36:08 +02:00
do_build() {
export CFLAGS="$CFLAGS -std=c99"
if [ "$CROSS_BUILD" ]; then
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
fi
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} 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() {
2013-05-06 14:36:08 +02:00
vmove all
}
}