Merge pull request #2329 from o1ux/xfce4-battery-plugin
New package: xfce4-battery-plugin-1.0.5
This commit is contained in:
commit
205ec3486f
2 changed files with 28 additions and 0 deletions
14
srcpkgs/xfce4-battery-plugin/patches/fix-includes.patch
Normal file
14
srcpkgs/xfce4-battery-plugin/patches/fix-includes.patch
Normal 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"
|
||||
|
14
srcpkgs/xfce4-battery-plugin/template
Normal file
14
srcpkgs/xfce4-battery-plugin/template
Normal 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"
|
Loading…
Reference in a new issue