# Maintainer: Natanael Copa pkgname=xproto pkgver=7.0.20 pkgrel=0 pkgdesc="X11 core wire protocol and auxiliary headers" url="http://xorg.freedesktop.org/" arch="x86 x86_64" license="custom" depends="" makedepends="" # only headers here so no need for subpkgs #subpackages="$pkgname-dev $pkgname-doc" source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure --prefix=/usr || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 install -D -m644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } md5sums="65633168e5315c19defb4652cd3d83c1 xproto-7.0.20.tar.bz2"