mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
38 lines
904 B
Bash
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
|
|
}
|