void-packages/srcpkgs/xfce4-diskperf-plugin/template

21 lines
733 B
Bash

# Template file for 'xfce4-diskperf-plugin'
pkgname=xfce4-diskperf-plugin
version=2.6.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="xfce4-panel-devel"
short_desc="Plugin for the Xfce4 panel displaying disk/partition performance"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="2-clause-BSD"
homepage="http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin"
distfiles="http://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=4897f34ccd8c3d050f8d2d95652af6ab740a670a108bf01f582945779305900e
pre_build() {
sed -i '/<stdlib.h>/a#include <sys\/types.h>' panel-plugin/devperf.c
}
post_install() {
vlicense COPYING
}