summaryrefslogblamecommitdiff
path: root/user/xfce4-time-out-plugin/APKBUILD
blob: 9a910af8d84670d72e3000bcdd8b3d1b6936508d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                                                           
        





                                                         
                                                                                                                   

           





                            
                                   









                                         



                  



                                                                                                                                                                                  
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=xfce4-time-out-plugin
pkgver=1.0.2
pkgrel=1
pkgdesc="Forced computer break plugin for the XFCE panel"
url="https://xfce.org"
arch="all"
license="GPL-2.0+"
makedepends="intltool libxfce4ui-dev xfce4-panel-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-time-out-plugin/1.0/xfce4-time-out-plugin-$pkgver.tar.bz2"

prepare() {
	default_prepare
	chmod a+w config.sub
	update_config_sub
}

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="3f49664fc8fd947627e40de0338e3a115806045c97fa08fd678fdbb831947bcfe14c02e9961d671ce7546d4913fd9319322476df590a70458bdf86fa3bd43464  xfce4-time-out-plugin-1.0.2.tar.bz2"