void-packages/srcpkgs/j4status/template

31 lines
1.0 KiB
Bash

# Template file for 'j4status'
pkgname=j4status
version=0.1
revision=3
build_style=gnu-configure
configure_args="--enable-mpd-input"
hostmakedepends="pkg-config libxslt docbook-xsl"
makedepends="libglib-devel yajl-devel libmpdclient-devel NetworkManager-devel
pulseaudio-devel upower-devel libsensors-devel"
short_desc="Provides a status line to retrieve information from your computer"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://sardemff7.github.io/j4status/"
distfiles="https://github.com/sardemff7/j4status/releases/download/v${version}/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
}
}