summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/xcb-proto/PKGBUILD
blob: e59e26b47dfdc6a7849a27666a0d782041678a06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 17316 2008-10-28 12:25:37Z douglas $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=xcb-proto
pkgver=1.2
pkgrel=2
pkgdesc="XML-XCB protocol descriptions"
arch=(i686 x86_64)
url="http://xcb.freedesktop.org/"
license=('custom')
makedepends=('python' 'libxml2')
source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2)
md5sums=('09f912486d8a2353bb4b99ddc28ba3c7')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
  install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
  install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
}