summaryrefslogtreecommitdiff
path: root/community/cuneiform
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/cuneiform
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/cuneiform')
-rw-r--r--community/cuneiform/PKGBUILD48
1 files changed, 0 insertions, 48 deletions
diff --git a/community/cuneiform/PKGBUILD b/community/cuneiform/PKGBUILD
deleted file mode 100644
index a8aacbd3b..000000000
--- a/community/cuneiform/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 87488 2013-04-01 16:09:28Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Maxim Vuets <maxim.vuets@gmail.com>
-
-pkgname=cuneiform
-pkgver=1.1.0
-_dpkgver=1.1
-pkgrel=8
-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)
-md5sums=('09fd160cdfc512f26442a7e91246598d')
-
-_SRC_ROOT="${srcdir}/${pkgname}-linux-${pkgver}"
-md5sums=('09fd160cdfc512f26442a7e91246598d')
-
-build() {
- cd "${_SRC_ROOT}"
- sed -i 's#lib64#lib#' install_files.cmake
- mkdir -p builddir
- cd builddir
-
- LMAGICK=`ls -1 /usr/lib/libMagick++*.so.?`
-
- cmake \
- -DCMAKE_BUILD_TYPE=release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DImageMagick_Magick++_LIBRARY=$LMAGICK \
- -DImageMagick_Magick++_INCLUDE_DIR=/usr/include/ImageMagick-6 \
- ..
- make
-}
-
-check() {
- ldd ${_SRC_ROOT}/builddir/cuneiform | grep Magick >/dev/null
-}
-
-package() {
- cd "${_SRC_ROOT}"/builddir
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 "${_SRC_ROOT}/cuneiform_src/Kern/license.txt" \
- "${pkgdir}/usr/share/licenses/cuneiform/license.txt"
-}