summaryrefslogblamecommitdiff
path: root/user/i3status/APKBUILD
blob: 01e567ceefb95cf5e331109baf3d02e3acdd5166 (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
7677e5f13f0b0e369775449a4097057cd709630f010790fa8601840858ab31ebe0455ecbfa764e6e4861e5a669cdc39e434c2c72513d45eb9705a49cc03953e5  asciidoctor.patch
765a5b64d79f61cd68280d77a7316e7f571a3c2e385d9a227885cde5fc057b1a892e92a65c0fc54832bfdda30743df6e9f82a847b55c9e7389575c7fbad9e0d4  glob_tilde.patch"