void-packages/srcpkgs/j4status/template

31 lines
1.0 KiB
Bash
Raw Normal View History

2016-05-10 14:59:47 +02:00
# Template file for 'j4status'
pkgname=j4status
version=0.1
2016-05-10 15:01:59 +02:00
revision=2
2016-05-10 14:59:47 +02:00
build_style=gnu-configure
2016-05-10 15:01:59 +02:00
configure_args="--enable-mpd-input"
2016-05-10 14:59:47 +02:00
hostmakedepends="pkg-config libxslt docbook-xsl"
2016-05-10 15:01:59 +02:00
makedepends="libglib-devel yajl-devel libmpdclient-devel NetworkManager-devel
pulseaudio-devel upower-devel libsensors-devel"
2016-05-10 14:59:47 +02:00
short_desc="Provides a status line using several plugin to retrieve information from your compute"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="https://j4status.j4tools.org/"
distfiles="http://download.tuxfamily.org/j4tools/j4status/j4status-${version}.tar.xz"
checksum=2ce80e460d6e4091deb28b663be87eceeb5cd533f40db6c5fba44a6adb995341
post_extract() {
sed -i 's,stdin,_stdin,g;s,stdout,_stdout,g;s,stderr,_stderr,g' input-output/i3bar/src/input.c
}
j4status-devel_package() {
short_desc+=" - development files"
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
}