desktop/pyside/PKGBUILD

35 lines
897 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=pyside
pkgver=1.0.2
pkgrel=1
pkgdesc="Provides LGPL Qt bindings for Python and related tools for binding generation."
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.pyside.org"
depends=('shiboken' 'python' 'qt>=4.7' 'phonon')
makedepends=('cmake' 'automoc4' 'shiboken-generator')
source=("http://www.pyside.org/files/$pkgname-qt4.7+$pkgver.tar.bz2")
md5sums=('62d718a81fc7e7d19919f17fff5b43a6')
build(){
cd $srcdir/$pkgname-qt4.7+$pkgver
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package(){
cd $srcdir/$pkgname-qt4.7+$pkgver/build
make DESTDIR=$pkgdir install
}