updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / xpyb / PKGBUILD
blobfdc12da92ba13c191378339d227fe1f353191402
1 # Contributor: Jan de Groot <jgc@archlinux.org>
2 # Contributer: Piotr HusiatyƄski <phusiatynski@gmail.com>
3 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgname=xpyb
6 pkgver=1.2
7 pkgrel=4
8 pkgdesc="X Python Binding, based on the XCB library"
9 url=http://xcb.freedesktop.org/
10 arch=('i686' 'x86_64')
11 license=('custom:public')
12 depends=('python2' 'libxcb')
13 options=(!libtool)
14 source=(http://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.bz2)
15 md5sums=('953cd851d7ad3e59577062ca53c77f3d')
17 build() {
18   cd "${srcdir}/${pkgname}-${pkgver}"
19   PYTHON=python2 ./configure --prefix=/usr
20   make
22 package() {
23   cd "${srcdir}/${pkgname}-${pkgver}"
24   make DESTDIR="${pkgdir}" install
25   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
26   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"