mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
31 lines
917 B
Bash
31 lines
917 B
Bash
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
|
# maintainer abveritas@chakra-project.org
|
|
# contributor kote
|
|
|
|
pkgname=yagf
|
|
pkgver=0.9.3
|
|
pkgrel=1
|
|
pkgdesc="Qt4-based GUI for Cuneiform OCR"
|
|
arch=(x86_64)
|
|
url="http://symmetrica.net/cuneiform-linux/yagf-en.html"
|
|
screenshot="http://symmetrica.net/cuneiform-linux/yagf-en.jpeg"
|
|
license=('GPL')
|
|
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)
|
|
md5sums=('54549f1daef831ca88532b450a9cf1d9')
|
|
|
|
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
|
|
}
|