summaryrefslogtreecommitdiffstats
path: root/abs/core/xcb-proto/PKGBUILD
blob: c95c2c5cf608dc305e0b764bad03778725821958 (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 61568 2009-12-19 19:52:55Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=xcb-proto
pkgver=1.6
pkgrel=1
pkgdesc="XML-XCB protocol descriptions"
arch=(any)
url="http://xcb.freedesktop.org/"
license=('custom')
makedepends=('python' 'libxml2')
source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('e82418557c7f59f29da9ec18e0906d6d78e3a164')

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
}