[arch-commits] Commit in ocrfeeder/repos/community-any (4 files)

Balló György bgyorgy at archlinux.org
Thu Jan 8 12:20:39 UTC 2015


    Date: Thursday, January 8, 2015 @ 13:20:38
  Author: bgyorgy
Revision: 125595

archrelease: copy trunk to community-any

Added:
  ocrfeeder/repos/community-any/PKGBUILD
    (from rev 125594, ocrfeeder/trunk/PKGBUILD)
  ocrfeeder/repos/community-any/ocrfeeder.install
    (from rev 125594, ocrfeeder/trunk/ocrfeeder.install)
Deleted:
  ocrfeeder/repos/community-any/PKGBUILD
  ocrfeeder/repos/community-any/ocrfeeder.install

-------------------+
 PKGBUILD          |   88 ++++++++++++++++++++++++----------------------------
 ocrfeeder.install |   22 ++++++-------
 2 files changed, 53 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-08 12:20:16 UTC (rev 125594)
+++ PKGBUILD	2015-01-08 12:20:38 UTC (rev 125595)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=ocrfeeder
-pkgver=0.8
-pkgrel=1
-pkgdesc="GTK+ document layout analysis and optical character recognition application"
-arch=('any')
-url="https://wiki.gnome.org/Apps/OCRFeeder"
-license=('GPL')
-depends=('python2-pyenchant' 'python2-gobject' 'python2-lxml' 'python2-pillow'
-         'python2-reportlab' 'gtk3' 'goocanvas' 'gtkspell3' 'ghostscript' 'unpaper' 'sane'
-         'iso-codes' 'desktop-file-utils')
-makedepends=('intltool' 'gnome-doc-utils' 'python2-gobject2')
-optdepends=('tesseract: character recognition'
-            'ocrad: character recognition'
-            'gocr: character recognition'
-            'cuneiform: character recognition')
-install=$pkgname.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
-sha256sums=('bb2e415e1e7ce9c7d819423b6b6a311f9d476eca54e7b183070ba6cd124265a1')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # Python2 fix
-  sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/ocrfeeder*.in src/ocrfeeder/odf/*.py
-
-  # Fix build (X display is not available in chroot)
-  sed -i 's/PYTHON_GI_MODULES=.*/PYTHON_GI_MODULES=/' configure{.ac,}
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-              --disable-maintainer-mode \
-              PYTHON=python2
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-  mkdir -p "$pkgdir/usr/share/pixmaps"
-  ln -s ../ocrfeeder/icons/ocrfeeder.svg "$pkgdir/usr/share/pixmaps/ocrfeeder.svg"
-}

Copied: ocrfeeder/repos/community-any/PKGBUILD (from rev 125594, ocrfeeder/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-01-08 12:20:38 UTC (rev 125595)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=ocrfeeder
+pkgver=0.8.1
+pkgrel=1
+pkgdesc="GTK+ document layout analysis and optical character recognition application"
+arch=('any')
+url="https://wiki.gnome.org/Apps/OCRFeeder"
+license=('GPL')
+depends=('python2-pyenchant' 'python2-gobject' 'python2-lxml' 'python2-pillow'
+         'python2-reportlab' 'gtk3' 'goocanvas' 'gtkspell3' 'ghostscript' 'unpaper' 'sane'
+         'iso-codes' 'desktop-file-utils')
+makedepends=('intltool' 'gnome-doc-utils' 'python2-gobject2')
+optdepends=('tesseract: character recognition'
+            'ocrad: character recognition'
+            'gocr: character recognition'
+            'cuneiform: character recognition')
+install=$pkgname.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('5816401c9b4bfce98fd9a7b649a3c7ecc3d6968a30f0e4d1b3677d172d55253b')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Python2 fix
+  sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/ocrfeeder*.in src/ocrfeeder/odf/*.py
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+              PYTHON=python2
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  mkdir -p "$pkgdir/usr/share/pixmaps"
+  ln -s ../ocrfeeder/icons/ocrfeeder.svg "$pkgdir/usr/share/pixmaps/ocrfeeder.svg"
+}

Deleted: ocrfeeder.install
===================================================================
--- ocrfeeder.install	2015-01-08 12:20:16 UTC (rev 125594)
+++ ocrfeeder.install	2015-01-08 12:20:38 UTC (rev 125595)
@@ -1,11 +0,0 @@
-post_install() {
-  update-desktop-database -q
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  post_install $1
-}

Copied: ocrfeeder/repos/community-any/ocrfeeder.install (from rev 125594, ocrfeeder/trunk/ocrfeeder.install)
===================================================================
--- ocrfeeder.install	                        (rev 0)
+++ ocrfeeder.install	2015-01-08 12:20:38 UTC (rev 125595)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}



More information about the arch-commits mailing list