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.1
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=212ddc742be3eecb6ad5554e1b1df03d5685cb71f48a558d5f895de37c57e4fa
pre_build() {
sed -i '/<stdlib.h>/a#include <sys\/types.h>' panel-plugin/devperf.c
}
post_install() {
vlicense COPYING
}