pyside_aur / python2-pyside / PKGBUILD

# Maintainer: arlx_ignacy <ziphims@gmail.com>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>


# modify these two to whatever Python 2 interpreter you're targetting; on my
# system I use the vanilla python2
_pyver=2
_pyexec=/usr/bin/python$_pyver

pkgname=python2-pyside
pkgver=1.1.1
pkgrel=1
pkgdesc='CPython Qt bindings generated using the Shiboken generator.'
arch=('i686' 'x86_64')
license=('LGPL')
url='http://www.pyside.org'
depends=('python2-shiboken>=1.1.1' 'python2' 'qt>=4.8' 'phonon' 'mesa')
makedepends=('cmake' 'automoc4' 'python2-shiboken>=1.1.1')
replaces=('pyside')
source=("http://www.pyside.org/files/pyside-qt4.8+$pkgver.tar.bz2")
md5sums=('0176d3746074afe47373d7302e1b4501')


build() {
    cd "$srcdir/pyside-qt4.8+$pkgver"

    cd ..
    if [ -d build ] ; then
        msg "Removing last build ..."
        rm -rf build
    fi

    mkdir build
    cd build

    cmake ../pyside-qt4.8+$pkgver -DCMAKE_INSTALL_PREFIX=/usr \
                                  -DCMAKE_BUILD_TYPE=Release

    make
}

package() {
    cd "$srcdir/build"
    make DESTDIR=$pkgdir install
}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.