New package: xfce4-battery-plugin-1.0.5

This commit is contained in:
Alexander Mamay 2015-08-22 08:02:06 +06:00
parent 94e17cb6e8
commit 1cedb3b98c
2 changed files with 28 additions and 0 deletions

View file

@ -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 <sys/sysctl.h>
#include <err.h>
#include <errno.h>
-#include <unistd.h>
#endif
+
+#include <unistd.h>
#include "libacpi.h"

View file

@ -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 <alexander@mamay.su>"
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"