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

                                                   
            
        

                                            
          


                
                                                                                       
 






                                     
         
                       




                                 
                        



                                     

                                                  
                                                                                                                                                                        
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=damageproto
pkgver=1.2.1
pkgrel=2
pkgdesc="X11 Damage extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

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

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
sha512sums="f124e85fb3cc70ed3536cb9db57ac93461bbb5df1a713bc6b67a5ea49122556c321781ca150df681502f6ccfb7305f290e131ad25ce9ccbff5af268df11c86fc  damageproto-1.2.1.tar.bz2"