updated on Fri Jan 20 12:03:34 UTC 2012
[aur-mirror.git] / qyzis / PKGBUILD
blob008ad272fe1c659081e7a7b1afec691efab4e83c
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=qyzis
4 pkgver=1.0_alpha1
5 pkgrel=1
6 pkgdesc="A Qt interface to yzis"
7 arch=('i686' 'x86_64')
8 url="http://www.yzis.org/"
9 license=('LGPL' 'GPL')
10 depends=('yzis')
11 makedepends=('cmake' 'doxygen')
12 source=(http://labs.freehackers.org/attachments/download/45/yzis-${pkgver/_/-}.tar.bz2
13         qyzis-$pkgver.diff)
14 md5sums=('9627cb52f214754225ee632695933ad5'
15          'b328eed700c651a36d231d04e7e9fd18')
17 build() {
18   cd "$srcdir/yzis-${pkgver/_/-}"
19   patch -Np1 -i ../qyzis-$pkgver.diff || return 1
21   cd cmake
22   cmake -DCMAKE_INSTALL_PREFIX=/usr \
23         -DCMAKE_BUILD_TYPE=Release \
24         -DENABLE_NYZIS=OFF \
25         -DENABLE_LIBYZISRUNNER=OFF ../
26 #        -DENABLE_DOCUMETATION=OFF ../
27   make || return 1
28   sed -i '/INCLUDE/ s#\(.*cmake/\)[^/]*/#\1qyzis/#' cmake_install.cmake
29   make DESTDIR="$pkgdir" install