summaryrefslogblamecommitdiff
path: root/user/i3status/APKBUILD
blob: c71e9205b1dee2f97c3914b5616d90b05a523efb (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            
              
                
           
        


                                                           
                                

             
                                                                    
                                                  

                                     
                         

                        

           
                       
                       


         





                                                         

                                 
            


           
                                               
 
 


                                                                                                                                                                   
# Contributor: Mira Ressel <aranea@aixah.de>
# Maintainer: 
pkgname=i3status
pkgver=2.13
pkgrel=1
pkgdesc="Status bar generator for dzen2, xmobar or similar"
url="https://i3wm.org/i3status/"
arch="all"
options="!check" # No test suite
license="MIT"
depends=""
makedepends="alsa-lib-dev asciidoctor confuse-dev libnl3-dev pkgconf
	pulseaudio-dev yajl-dev autoconf automake"
subpackages="$pkgname-doc"
source="$url/$pkgname-$pkgver.tar.bz2
	asciidoctor.patch
	glob_tilde.patch
	"

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	mkdir build
	cd build

	PATH_ASCIIDOC=/usr/bin/asciidoctor ../configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

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

sha512sums="6dadff19e53499d169ba4f491e1f821014b4f92fc3c93d7947c85cbbbdeaba538d02bd8ab98fe266a8f80756a287fd5803ec77a8cd874d50082b5cad309875c2  i3status-2.13.tar.bz2
26527b9a0053d363f2b2991f9be3a15cb5fbf5553dca9498a9cff1c1a65e887f392215b60a484e329e6ef8efd63f9b67727826fb6ccfe1033c653feef34aaab8  asciidoctor.patch
765a5b64d79f61cd68280d77a7316e7f571a3c2e385d9a227885cde5fc057b1a892e92a65c0fc54832bfdda30743df6e9f82a847b55c9e7389575c7fbad9e0d4  glob_tilde.patch"