aboutsummaryrefslogblamecommitdiffstats
path: root/main/xcb-util/APKBUILD
blob: aa7edbd9b1ab05c872db159d2b7b701ff5295401 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   

            

                                          
          

                          
        
                        
                                   

                                                                 



                                    

 
         
                       





                                  
                        



                                     

                                                  


                                                                                                                                                                     
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcb-util
pkgver=0.4.0
pkgrel=0
pkgdesc="Utility libraries for XC Binding"
url="http://xcb.freedesktop.org"
arch="all"
license="GPL"
subpackages="$pkgname-dev"
depends=
depends_dev="libxcb-dev"
makedepends="m4 $depends_dev gperf"
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="2e97feed81919465a04ccc71e4073313  xcb-util-0.4.0.tar.bz2"
sha256sums="46e49469cb3b594af1d33176cd7565def2be3fa8be4371d62271fabb5eae50e9  xcb-util-0.4.0.tar.bz2"
sha512sums="e60aaa6f582eacd05896c5fd7c8417938318a1288146f3a5b339f77eed24e211c6099963f8813daa621c94173d2934228936b491c0ed79b09a8a67d835867d0e  xcb-util-0.4.0.tar.bz2"