aboutsummaryrefslogblamecommitdiffstats
path: root/testing/girara/APKBUILD
blob: 89dcd2240021be4ea8d359966f93f0a8c6f4db80 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11




                                                              
            




                                                                               

                                                                               


                                                                        
                                   

         

                                       



                                            
                                      



                                                                                                       
                                                          
                           



                                                     


                                          

 
                                                                                                                                                                  
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Andrew Hills <ahills@ednos.net>
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=girara
pkgver=0.2.7
pkgrel=0
pkgdesc="girara - gtk user interface that focuses on simplicity and minimalism"
url="https://pwmt.org/projects/girara/"
arch="all"
license="zlib"
# dbus for tests only
makedepends="gtk+3.0-dev libnotify-dev intltool doxygen check-dev ncurses dbus"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://pwmt.org/projects/girara/download/girara-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	make -C "$builddir" COLOR=0
	make -C "$builddir/doc" COLOR=0
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" \
		-C "$builddir" install
}

doc() {
	pkgdesc="girara - gtk user interface that focuses on simplicity and minimalism (documentation)"
	local _docdir="$subpkgdir"/usr/share/doc/$pkgname/
	mkdir -p "$_docdir"
	cp -r "$builddir"/doc/build/html/* "$_docdir"
}

check () {
	if [ "$CARCH" != "ppc64le" ]; then
		make -C "$builddir" test
	fi
}

sha512sums="4229565b8a5fad1ecbf42e4f3f852644964a7d5c90154dab9b7dcb5ccd5f25731911452472bbeb28927d1e30d4df6ed066926e11c6a73f0fd5740570493a036f  girara-0.2.7.tar.gz"