[arch-commits] Commit in ocrfeeder/repos/community-any (3 files)
Balló György
bgyorgy at archlinux.org
Tue Jul 12 21:50:48 UTC 2016
Date: Tuesday, July 12, 2016 @ 21:50:48
Author: bgyorgy
Revision: 182779
archrelease: copy trunk to community-any
Added:
ocrfeeder/repos/community-any/PKGBUILD
(from rev 182778, ocrfeeder/trunk/PKGBUILD)
Deleted:
ocrfeeder/repos/community-any/PKGBUILD
ocrfeeder/repos/community-any/ocrfeeder.install
-------------------+
PKGBUILD | 83 +++++++++++++++++++++++++---------------------------
ocrfeeder.install | 11 ------
2 files changed, 41 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-12 21:50:44 UTC (rev 182778)
+++ PKGBUILD 2016-07-12 21:50:48 UTC (rev 182779)
@@ -1,42 +0,0 @@
-# $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"
-}
Copied: ocrfeeder/repos/community-any/PKGBUILD (from rev 182778, ocrfeeder/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-07-12 21:50:48 UTC (rev 182779)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=ocrfeeder
+pkgver=0.8.1
+pkgrel=2
+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')
+makedepends=('intltool' 'gnome-doc-utils' 'python2-gobject2')
+optdepends=('tesseract: character recognition'
+ 'ocrad: character recognition'
+ 'gocr: character recognition'
+ 'cuneiform: character recognition')
+source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('5816401c9b4bfce98fd9a7b649a3c7ecc3d6968a30f0e4d1b3677d172d55253b')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # Python2 fix
+ sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/ocrfeeder*.in src/ocrfeeder/odf/*.py
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ PYTHON=python2
+ make
+}
+
+package() {
+ cd $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 2016-07-12 21:50:44 UTC (rev 182778)
+++ ocrfeeder.install 2016-07-12 21:50:48 UTC (rev 182779)
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
More information about the arch-commits
mailing list