APKBUILD 904 Bytes
Newer Older
1
2
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
3
pkgname=xfce4-battery-plugin
4
pkgver=1.1.4
5
pkgrel=0
6
7
8
9
pkgdesc="Battery monitor plugin for the XFCE panel"
url="https://xfce.org"
arch="all"
license="GPL-2.0+ AND LGPL-2.0+"
10
depends=""
11
12
makedepends="intltool libxfce4ui-dev xfce4-panel-dev"
subpackages="$pkgname-lang"
13
source="https://archive.xfce.org/src/panel-plugins/xfce4-battery-plugin/1.1/xfce4-battery-plugin-$pkgver.tar.bz2"
14
15

build() {
16
	LIBS="-lintl" ./configure \
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

34
sha512sums="6a59630800a79d2c62434c1c50f5d891ae9ebae48037ea0859d6edd66c856a76e6f11c6e8866ca3c94ae1e5b57bdba4e9fadd4bc92c7fcef278cd2f7b82203f2  xfce4-battery-plugin-1.1.4.tar.bz2"