[arch-commits] Commit in gocr/repos/community-x86_64 (PKGBUILD PKGBUILD)
Balló György
bgyorgy at archlinux.org
Tue Jan 23 02:26:27 UTC 2018
Date: Tuesday, January 23, 2018 @ 02:26:26
Author: bgyorgy
Revision: 285343
archrelease: copy trunk to community-x86_64
Added:
gocr/repos/community-x86_64/PKGBUILD
(from rev 285342, gocr/trunk/PKGBUILD)
Deleted:
gocr/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 65 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 30 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-23 02:26:18 UTC (rev 285342)
+++ PKGBUILD 2018-01-23 02:26:26 UTC (rev 285343)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: damir <damir at archlinux.org>
-
-pkgname=gocr
-pkgver=0.51
-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')
-validpgpkeys=('3816B803D578F5AD12FDFE065D330C4953BDFBE3')
-source=(https://www-e.uni-magdeburg.de/jschulen/ocr/gocr-${pkgver}.tar.gz{,.asc})
-sha256sums=('6eb2ae0fa4eb07cf4163081e0194ea65f605f7db9709dd30680686804dfc2692'
- 'SKIP')
-
-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
-}
Copied: gocr/repos/community-x86_64/PKGBUILD (from rev 285342, gocr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-23 02:26:26 UTC (rev 285343)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=gocr
+pkgver=0.51
+pkgrel=2
+pkgdesc="OCR (Optical Character Recognition) program, which converts scanned images of text back to text files"
+arch=("x86_64")
+url="https://www-e.uni-magdeburg.de/jschulen/ocr/"
+license=('GPL')
+depends=('libjpeg-turbo' 'netpbm')
+optdepends=('fig2dev: read xfig images'
+ 'tk: to use the tk frontend')
+source=(https://www-e.uni-magdeburg.de/jschulen/ocr/$pkgname-$pkgver.tar.gz{,.asc})
+validpgpkeys=('3816B803D578F5AD12FDFE065D330C4953BDFBE3')
+sha256sums=('6eb2ae0fa4eb07cf4163081e0194ea65f605f7db9709dd30680686804dfc2692'
+ 'SKIP')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --bindir=/usr/bin --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list