From 1cedb3b98c30d09d0bbce1564c72c6a2f8481beb Mon Sep 17 00:00:00 2001 From: Alexander Mamay Date: Sat, 22 Aug 2015 08:02:06 +0600 Subject: [PATCH] New package: xfce4-battery-plugin-1.0.5 --- .../patches/fix-includes.patch | 14 ++++++++++++++ srcpkgs/xfce4-battery-plugin/template | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 srcpkgs/xfce4-battery-plugin/patches/fix-includes.patch create mode 100644 srcpkgs/xfce4-battery-plugin/template diff --git a/srcpkgs/xfce4-battery-plugin/patches/fix-includes.patch b/srcpkgs/xfce4-battery-plugin/patches/fix-includes.patch new file mode 100644 index 00000000000..de78c8c8351 --- /dev/null +++ b/srcpkgs/xfce4-battery-plugin/patches/fix-includes.patch @@ -0,0 +1,14 @@ +--- xfce4-battery-plugin-1.0.5.orig/panel-plugin/libacpi.c ++++ xfce4-battery-plugin-1.0.5/panel-plugin/libacpi.c +@@ -52,9 +52,10 @@ + #include + #include + #include +-#include + + #endif ++ ++#include + + #include "libacpi.h" + diff --git a/srcpkgs/xfce4-battery-plugin/template b/srcpkgs/xfce4-battery-plugin/template new file mode 100644 index 00000000000..114e94e6aa3 --- /dev/null +++ b/srcpkgs/xfce4-battery-plugin/template @@ -0,0 +1,14 @@ +# Template file for 'xfce4-battery-plugin' +pkgname=xfce4-battery-plugin +version=1.0.5 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config intltool" +makedepends="xfce4-panel-devel" +short_desc="A battery monitor plugin for the Xfce panel" +maintainer="Alexander Mamay " +license="GPL-2" +homepage="http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin" +distfiles="http://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2" +checksum=f659b1af40ab72c93448affaa693ab551827a5600ce9b97a799b7c2419bdeb11 +patch_args="-p1"