Add xfce4-battery-plugin
This commit is contained in:
1 parent
ae99271fc2
commit
560c7df00c
1 file changed
+39
@@ -0,0 +1,39 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='xfce4-battery-plugin'
|
||||||
|
release='1'
|
||||||
|
version='1.1.5'
|
||||||
|
_version='0.8'
|
||||||
|
url='https://docs.xfce.org/panel-plugins/xfce4-battery-plugin'
|
||||||
|
description='A battery monitor plugin for the Xfce panel'
|
||||||
|
email='03teknoloji@gmail.com'
|
||||||
|
maintainer='mobilturka'
|
||||||
|
license=('GPL2')
|
||||||
|
source=("https://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2")
|
||||||
|
#source=("https://mirror.netcologne.de/xfce/src/panel-plugins/xfce4-xkb-plugin/${_version}/xfce4-xkb-plugin-${version}.tar.bz2")
|
||||||
|
depends=(xfce4-panel)
|
||||||
|
makedepends=(intltool)
|
||||||
|
sha256sums=('752233bfb320ee1e26104a656cbb868299f562733063e2b9a18f0966585ce213')
|
||||||
|
group=(xfce.extra)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-debug
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install DESTDIR=$DESTDIR $jobs
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user