updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / yzis / PKGBUILD
blob15aaf315e3b327303338a0a540deab70f5914ef9
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=yzis
4 pkgver=1.0_alpha1
5 pkgrel=1
6 pkgdesc="A fast, powerful editor inspired by vim"
7 arch=('i686' 'x86_64')
8 url="http://www.yzis.org/"
9 license=('LGPL' 'GPL')
10 depends=('file' 'lua' 'qt')
11 makedepends=('cmake' 'doxygen')
12 optdepends=('qyzis: QT interface')
13 source=(http://labs.freehackers.org/attachments/download/45/yzis-${pkgver/_/-}.tar.bz2
14         yzis-$pkgver-logging.diff)
15 md5sums=('9627cb52f214754225ee632695933ad5'
16          '660a16d96f680a61396d5b42b276ff6a')
18 build() {
19   cd "$srcdir/yzis-${pkgver/_/-}"
20   patch -Np1 -i ../yzis-$pkgver-logging.diff || return 1
22   cd cmake
23   cmake -DCMAKE_INSTALL_PREFIX=/usr \
24         -DCMAKE_BUILD_TYPE=Release \
25         -DENABLE_QYZIS=OFF \
26         -DENABLE_LIBYZISRUNNER=OFF \
27         -DENABLE_DOCUMETATION=OFF ../ || return 1
28   make || return 1
29   make DESTDIR="$pkgdir" install || return 1
30   ln -sf nyzis "$pkgdir/usr/bin/yzis"