summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-08 20:35:53 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-08 22:15:55 -0500
commit92bd0d433513ca7791f7dbc41cc97f324f4e2b5b (patch)
tree266f241bbc3ca371d020be74b0ec17ca2ec12ae4 /user
parente8e6e8c752f0ceac6af9b1c5490a7062debd607d (diff)
downloadpackages-92bd0d433513ca7791f7dbc41cc97f324f4e2b5b.tar.gz
packages-92bd0d433513ca7791f7dbc41cc97f324f4e2b5b.tar.bz2
packages-92bd0d433513ca7791f7dbc41cc97f324f4e2b5b.tar.xz
packages-92bd0d433513ca7791f7dbc41cc97f324f4e2b5b.zip
user/xfce4-battery-plugin: new package
Diffstat (limited to 'user')
-rw-r--r--user/xfce4-battery-plugin/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/xfce4-battery-plugin/APKBUILD b/user/xfce4-battery-plugin/APKBUILD
new file mode 100644
index 000000000..21ef88d73
--- /dev/null
+++ b/user/xfce4-battery-plugin/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=xfce4-battery-plugin
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="Battery monitor plugin for the XFCE panel"
+url="https://xfce.org"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.0+"
+makedepends="intltool libxfce4ui-dev xfce4-panel-dev"
+subpackages="$pkgname-lang"
+langdir="/usr/lib/locale"
+source="http://archive.xfce.org/src/panel-plugins/xfce4-battery-plugin/1.1/xfce4-battery-plugin-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ chmod a+w config.sub
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d3f5b6d3657abfba2c4c5cb3ab8ddc87f4862f24eb614cb91af48332b3082c3dce7f32eb2e3cb8a9d501ddb01c6259c4fbfbab8ed9c221633e47eb17c623cf09 xfce4-battery-plugin-1.1.0.tar.bz2"