Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=apiextractor-git
- pkgver=20120830
- 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' 'git')
- conflicts=("apiextractor")
- provides=("apiextractor")
- _gitroot="git://github.com/PySide/Apiextractor.git"
- _gitname="Apiextractor"
- build(){
- cd "$srcdir"
- msg "Connecting to GIT server...."
- if [ -d "${srcdir}/${_gitname}" ] ; then
- cd ${_gitname} && git pull --rebase
- else
- git clone ${_gitroot}
- cd ${_gitname}
- fi
- mkdir -p build && cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF
- make
- }
- package(){
- cd "$srcdir/$_gitname/build"
- make DESTDIR=$pkgdir install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement