summaryrefslogblamecommitdiff
path: root/user/xfce4-battery-plugin/APKBUILD
blob: 66af35833835fe2a1e727eabe509914db3402958 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
                            

            



                                                   
          

                                                     
                                                                                                                 
 
         
                                   









                                         



                  


                                      
                                                                                                                                                                                 
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=xfce4-battery-plugin
pkgver=1.1.3
pkgrel=0
pkgdesc="Battery monitor plugin for the XFCE panel"
url="https://xfce.org"
arch="all"
license="GPL-2.0+ AND LGPL-2.0+"
depends=""
makedepends="intltool libxfce4ui-dev xfce4-panel-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-battery-plugin/1.1/xfce4-battery-plugin-$pkgver.tar.bz2"

build() {
	LIBS="-lintl" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="a591fb37855efbd54d18ae97e320fa4521da611c8ea107813bfd66fa570e8c84576fcf779c7b676ee9918709912de728b0fed490e64d3d2ad403baf719db4520  xfce4-battery-plugin-1.1.3.tar.bz2"