# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
setvar pkgname = 'damageproto'
setvar pkgver = '1.2.1'
setvar pkgrel = '3'
setvar pkgdesc = ""X11 Damage extension wire protocol""
setvar url = ""http://xorg.freedesktop.org/""
setvar arch = ""noarch""
setvar options = ""!check""  # No test suite.
setvar license = ""custom""
setvar depends = """"
setvar makedepends = ""util-macros""
setvar subpackages = ""$pkgname-doc""
setvar source = ""http://www.x.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2""

proc prepare {
	cd $builddir
	update_config_sub
	default_prepare
}

proc build {
	cd $builddir
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

proc package {
	cd $builddir
	make DESTDIR="$pkgdir" install
}
setvar sha512sums = ""f124e85fb3cc70ed3536cb9db57ac93461bbb5df1a713bc6b67a5ea49122556c321781ca150df681502f6ccfb7305f290e131ad25ce9ccbff5af268df11c86fc  damageproto-1.2.1.tar.bz2""