desktop/pyside-tools/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 019ebeb0f7 Shiboken, PySide and PySide tools upgraded.
2012-05-05 14:28:59 +00:00

38 lines
904 B
Bash

# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=pyside-tools
pkgver=0.2.13
_pyver=2.7
pkgrel=6
pkgdesc="UI Compiler (pyside-uic) plus Qt Resource Compiler (pyside-rcc4) for PySide."
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.pyside.org"
depends=('pyside' 'python')
makedepends=('cmake' 'automoc4')
source=("http://www.pyside.org/files/$pkgname-$pkgver.tar.bz2")
md5sums=('14d3a36df06d680357d7bc1960f19a6d')
build(){
cd $srcdir/$pkgname-$pkgver
#sed -e "s/python/python2/g" -i pyside-uic
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DSHIBOKEN_PYTHON_SUFFIX=-python$_pyver \
-DPYTHON_EXECUTABLE=/usr/bin/python$_pyver \
..
make
}
package(){
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}