# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ #Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=dmxproto pkgver=2.3 pkgrel=1 pkgdesc="X11 Distributed Multihead X extension wire protocol" arch=('i686' 'x86_64') url="http://xorg.freedesktop.org/" source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) build() { cd ${startdir}/src/${pkgname}-${pkgver} ./configure --prefix=/usr || return 1 make || return 1 } package() { cd ${startdir}/src/${pkgname}-${pkgver} make DESTDIR=${startdir}/pkg install || return 1 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 } md5sums=('880a41720b2937e2660dcdc0d34a8791')