updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / ooxcb / PKGBUILD
blob3d22e6f2a82d8b344bd58bae9c80c7b2838d4060
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=ooxcb
4 pkgver=1.1
5 pkgrel=1
6 pkgdesc="An object-oriented X Python binding based on xpyb"
7 arch=('i686' 'x86_64')
8 url="http://docs.samurai-x.org/ooxcb/"
9 license=('BSD')
10 depends=('libxcb' 'python>=2.5')
11 makedepends=('setuptools')
12 source=(http://samurai-x.org/downloads/$pkgname-$pkgver.tar.gz
13         LICENSE)
14 md5sums=('1119ad19c05c1f206d578cf50fb67e3f'
15          '3970f82a1b5a32142fd4c42c006da75d')
17 build() {
18   cd "$srcdir/ooxcb-$pkgver"
19   python setup.py build || return 1
22 package() {
23   cd "$srcdir/$pkgname-$pkgver"
24   python setup.py install --prefix=/usr --root="$pkgdir"
25   install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"