mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
## Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=cuneiform
|
|
pkgver=1.1.0
|
|
_dpkgver=1.1
|
|
pkgrel=2
|
|
pkgdesc="Linux port of an OCR system developed in Russia. Supports more than 20 languages."
|
|
arch=('i686' 'x86_64')
|
|
url="https://launchpad.net/cuneiform-linux"
|
|
license=('BSD')
|
|
depends=(imagemagick)
|
|
makedepends=(cmake)
|
|
source=(http://launchpad.net/cuneiform-linux/${_dpkgver}/${_dpkgver}/+download/cuneiform-linux-${pkgver}.tar.bz2)
|
|
screenshot=("http://i1-win.softpedia-static.com/screenshots/CuneiForm_3.png")
|
|
|
|
_SRC_ROOT="${srcdir}/${pkgname}-linux-${pkgver}"
|
|
|
|
build() {
|
|
|
|
cd "${_SRC_ROOT}"
|
|
sed -i 's#lib64#lib#' install_files.cmake
|
|
mkdir -p builddir
|
|
cd builddir
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr ..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${_SRC_ROOT}"/builddir
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
mkdir -p "${pkgdir}/usr/share/licenses/cuneiform"
|
|
cp "${_SRC_ROOT}/cuneiform_src/Kern/license.txt" \
|
|
"${pkgdir}/usr/share/licenses/cuneiform"
|
|
}
|
|
md5sums=('09fd160cdfc512f26442a7e91246598d')
|