aboutsummaryrefslogblamecommitdiffstats
path: root/main/py2-cairo/APKBUILD
blob: 90ad406d260f8f3057dcd97659c633782d53b046 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
                 


                 

                                                        
          
                
                
          
                                   
                 
          
                          
                                                                    
 
                                    

         
                      
                                                 
                               


           
                      
                                                       

 
                                                                                                                                                                      
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py2-cairo
_pkgname=py2cairo
pkgver=1.10.0
pkgrel=0
pkgdesc="Python bindings for the cairo graphics library"
url="http://cairographics.org/pycairo/"
arch="all"
license="LGPL2+"
options="!check"
depends=""
makedepends="python2-dev cairo-dev"
replaces=py-cairo
install=""
subpackages="$pkgname-dev"
source="http://cairographics.org/releases/$_pkgname-$pkgver.tar.bz2"

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

build() {
	cd "$builddir"
	./waf configure --prefix=/usr || return 1
	./waf build || return 1
}

package() {
	cd "$builddir"
	./waf install --destdir="${pkgdir}" || return 1
}

sha512sums="cb3d54de9af4134460ce731da8166a3127a642c8a2e6184109437ddec115cd55b8dd2413a5c81700277bfe2f22fcfe268db4f3ba0f7649751e85bb34295f79fc  py2cairo-1.10.0.tar.bz2"