summaryrefslogtreecommitdiffstats
path: root/abs/core/xcb-proto/PKGBUILD
blob: 81635dec075e8213c6659184dc8bae5fd22f6a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 154172 2012-03-23 20:55:53Z andyrtr $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

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

build() {
  cd "$srcdir/$pkgname-$pkgver"
  PYTHON=/usr/bin/python2 ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
  install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
}