desktop/apiextractor/PKGBUILD

32 lines
914 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=apiextractor
pkgver=0.10.3
pkgrel=1
pkgdesc="Collects information about libraries from its header files and merges it with user written files (typesystem) describing how the library should be exposed as a binding on the target language."
url="http://www.pyside.org"
arch=('i686' 'x86_64')
license=('LGPL')
depends=('qt>=4.7' 'openssl' 'libxslt' 'libxml2')
makedepends=('cmake' 'automoc4')
source=("http://www.pyside.org/files/$pkgname-$pkgver.tar.bz2")
md5sums=('3dffe34785c2e0df20529cfebc2227e5')
build(){
cd $srcdir/$pkgname-$pkgver
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
}