summaryrefslogtreecommitdiff
path: root/community/gocr
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/gocr
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/gocr')
-rw-r--r--community/gocr/PKGBUILD33
1 files changed, 0 insertions, 33 deletions
diff --git a/community/gocr/PKGBUILD b/community/gocr/PKGBUILD
deleted file mode 100644
index 1bf3b3c5a..000000000
--- a/community/gocr/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 88468 2013-04-18 12:15:06Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: damir <damir@archlinux.org>
-
-pkgname=gocr
-pkgver=0.50
-pkgrel=1
-pkgdesc="Open-source character recognition (OCR)"
-arch=("i686" "x86_64")
-url="http://jocr.sourceforge.net/index.html"
-license=('GPL')
-depends=('glibc' 'netpbm')
-optdepends=('tk: to use the tk frontend')
-source=(http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-${pkgver}.tar.gz)
-md5sums=('553ea40c2b3a1a0b03a30675d0e0aba1')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- [ $CARCH == "x86_64" ] && export CFLAGS=-fPIC
- ./configure --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib
- make -j1 all libs
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- mkdir -p $pkgdir/usr/lib
- make DESTDIR=$pkgdir libdir=/usr/lib/ bindir=/usr/bin install
- (cd $pkgdir/usr/lib/ && rm -f libPgm2asc.so && ln -s `echo libPgm2asc*.so` libPgm2asc.so)
- install -D -m644 doc/gocr.html $pkgdir/usr/share/doc/gocr/gocr.html
- for i in pgm2asc.h gocr.h; do
- install -D -m644 src/$i $pkgdir/usr/include/gocr/$i
- done
-}