desktop/pyside-tools/PKGBUILD
Adrián Chaves Fernández (Gallaecio) a31e2fafe8 Upgraded PySide chain to 1.0.6 version.
2011-09-01 12:59:44 +00:00

35 lines
838 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
pkgrel=1
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
pyside-uic > pyside-uic_mod && mv pyside-uic{_mod,} && chmod 755 pyside-uic
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package(){
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}