aboutsummaryrefslogblamecommitdiffstats
path: root/main/libxcomposite/APKBUILD
blob: e4741c2fd5f648090fc411ecb007117d73f0317e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                             

                                                   

            

                                         
          
                
                                  
                                       
                         
                                                                        
                                                                                
 
                                        
 
         
                      



                                 

                                 


           

                                      


                                                                              
                                                                                                                                                                          
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxcomposite
pkgver=0.4.5
pkgrel=0
pkgdesc="X11 Composite extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
options="!check"  # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends_dev="libxext-dev"
makedepends="xorgproto libx11-dev libxext-dev libxfixes-dev util-macros"
source="https://www.x.org/releases/individual/lib/libXcomposite-$pkgver.tar.bz2"

builddir="$srcdir"/libXcomposite-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="502fd51fd9097bb3ca72174ac5b25b9d3b1ff240d32c4765199df03d89337d94b4ddea49e90b177b370862430089d966ce9c38988337156352cfeae911c2d3d5  libXcomposite-0.4.5.tar.bz2"