diff options
Diffstat (limited to 'community/yagf/PKGBUILD')
-rw-r--r-- | community/yagf/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/yagf/PKGBUILD b/community/yagf/PKGBUILD new file mode 100644 index 000000000..a810ad8c5 --- /dev/null +++ b/community/yagf/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 85428 2013-03-01 10:43:02Z andrea $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: das-ich <das-ich@yandex.ru> + +pkgname=yagf +pkgver=0.9.2 +pkgrel=3 +pkgdesc="QT4-based GUI for Cuneiform and Tesseract OCRs" +arch=(i686 x86_64) +url="http://symmetrica.net/cuneiform-linux/yagf-en.html" +license=('GPL') +depends=('qt4' 'aspell') +optdepends=('cuneiform: recognition tool' + 'tesseract: recognition tool' + 'xsane: acquire images from a scanner into YAGF directly') +makedepends=('cmake') +install=yagf.install +source=(http://symmetrica.net/cuneiform-linux/${pkgname}-${pkgver}.tar.gz) +md5sums=('13592e52006d20f71c0094aafb13ed0e') + +build() { + cd "${srcdir}/${pkgname}-$pkgver" + cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release . + make +} + +package() { + cd "${srcdir}/${pkgname}-$pkgver" + make DESTDIR=${pkgdir} install + [ -d $pkgdir/usr/lib64 ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib || true +} |