From 7249872d8b31fb728d48e6ca4333a3d5eebbd895 Mon Sep 17 00:00:00 2001 From: Alexander Mamay Date: Mon, 3 Aug 2015 22:07:55 +0600 Subject: [PATCH] New package: xfce4-netload-plugin-1.2.4 --- srcpkgs/xfce4-netload-plugin/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/xfce4-netload-plugin/template diff --git a/srcpkgs/xfce4-netload-plugin/template b/srcpkgs/xfce4-netload-plugin/template new file mode 100644 index 0000000000..9f68aeb6f7 --- /dev/null +++ b/srcpkgs/xfce4-netload-plugin/template @@ -0,0 +1,21 @@ +# Template file for 'xfce4-netload-plugin' +pkgname=xfce4-netload-plugin +version=1.2.4 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config intltool" +makedepends="xfce4-panel-devel" +short_desc="A netload plugin for the Xfce panel" +maintainer="Alexander Mamay " +license="GPL-2" +homepage="http://goodies.xfce.org/projects/panel-plugins/xfce4-netload-plugin" +distfiles="http://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2" +checksum=fface918822c012d806717116566e54947ad7613b9290b45a18e2d5ffb8730d3 + +pre_build() { + case "$XBPS_TARGET_MACHINE" in + *-musl) # There is no in musl libc + sed -e "s;;;" \ + -i ${wrksrc}/panel-plugin/os.h + esac +}