[arch-commits] Commit in ocrfeeder/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Thu Jan 8 12:20:17 UTC 2015
Date: Thursday, January 8, 2015 @ 13:20:16
Author: bgyorgy
Revision: 125594
upgpkg: ocrfeeder 0.8.1-1
Update to version 0.8.1
Modified:
ocrfeeder/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-08 12:08:09 UTC (rev 125593)
+++ PKGBUILD 2015-01-08 12:20:16 UTC (rev 125594)
@@ -2,7 +2,7 @@
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=ocrfeeder
-pkgver=0.8
+pkgver=0.8.1
pkgrel=1
pkgdesc="GTK+ document layout analysis and optical character recognition application"
arch=('any')
@@ -17,8 +17,8 @@
'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')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('5816401c9b4bfce98fd9a7b649a3c7ecc3d6968a30f0e4d1b3677d172d55253b')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
@@ -25,15 +25,11 @@
# 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
}
More information about the arch-commits
mailing list