desktop/yagf/PKGBUILD

31 lines
917 B
Bash
Raw Normal View History

2014-04-12 19:40:53 +08:00
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
# maintainer abveritas@chakra-project.org
# contributor kote
pkgname=yagf
2014-04-12 19:40:53 +08:00
pkgver=0.9.3
2013-12-16 04:47:22 +08:00
pkgrel=1
2014-04-12 19:40:53 +08:00
pkgdesc="Qt4-based GUI for Cuneiform OCR"
2013-12-16 04:47:22 +08:00
arch=(x86_64)
url="http://symmetrica.net/cuneiform-linux/yagf-en.html"
screenshot="http://symmetrica.net/cuneiform-linux/yagf-en.jpeg"
license=('GPL')
2014-04-12 19:40:53 +08:00
depends=('cuneiform' 'qt' 'aspell')
optdepends=('xsane: acquire images from a scanner into YAGF directly')
makedepends=('cmake')
install=yagf.install
source=(http://symmetrica.net/cuneiform-linux/${pkgname}-${pkgver}.tar.gz)
2014-04-12 19:40:53 +08:00
md5sums=('54549f1daef831ca88532b450a9cf1d9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .
make
}
2013-12-16 04:47:22 +08:00
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
[ -d $pkgdir/usr/lib64 ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib || true
}