[arch-commits] Commit in gocr/repos (4 files)
Sergej Pupykin
spupykin at archlinux.org
Mon Oct 2 07:40:16 UTC 2017
Date: Monday, October 2, 2017 @ 07:40:16
Author: spupykin
Revision: 261209
archrelease: copy trunk to community-i686, community-x86_64
Added:
gocr/repos/community-i686/PKGBUILD
(from rev 261208, gocr/trunk/PKGBUILD)
gocr/repos/community-x86_64/PKGBUILD
(from rev 261208, gocr/trunk/PKGBUILD)
Deleted:
gocr/repos/community-i686/PKGBUILD
gocr/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 70 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 33 --------------------
community-x86_64/PKGBUILD | 33 --------------------
3 files changed, 70 insertions(+), 66 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-10-02 07:39:51 UTC (rev 261208)
+++ community-i686/PKGBUILD 2017-10-02 07:40:16 UTC (rev 261209)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: damir <damir at archlinux.org>
-
-pkgname=gocr
-pkgver=0.50
-pkgrel=2
-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
-}
Copied: gocr/repos/community-i686/PKGBUILD (from rev 261208, gocr/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-10-02 07:40:16 UTC (rev 261209)
@@ -0,0 +1,35 @@
+# $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
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-10-02 07:39:51 UTC (rev 261208)
+++ community-x86_64/PKGBUILD 2017-10-02 07:40:16 UTC (rev 261209)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: damir <damir at archlinux.org>
-
-pkgname=gocr
-pkgver=0.50
-pkgrel=2
-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
-}
Copied: gocr/repos/community-x86_64/PKGBUILD (from rev 261208, gocr/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-10-02 07:40:16 UTC (rev 261209)
@@ -0,0 +1,35 @@
+# $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
+}
More information about the arch-commits
mailing list