# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcmiscproto
pkgver=1.2.1
pkgrel=0
pkgdesc="X11 XC-Miscellaneous 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"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr
	make || return 1
}

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