Date: Sunday, December 6, 2015 @ 20:40:15
  Author: bpiotrowski
Revision: 149119

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  yagf/repos/community-staging-i686/
  yagf/repos/community-staging-i686/PKGBUILD
    (from rev 149118, yagf/trunk/PKGBUILD)
  yagf/repos/community-staging-i686/yagf.install
    (from rev 149118, yagf/trunk/yagf.install)
  yagf/repos/community-staging-x86_64/
  yagf/repos/community-staging-x86_64/PKGBUILD
    (from rev 149118, yagf/trunk/PKGBUILD)
  yagf/repos/community-staging-x86_64/yagf.install
    (from rev 149118, yagf/trunk/yagf.install)

---------------------------------------+
 community-staging-i686/PKGBUILD       |   38 ++++++++++++++++++++++++++++++++
 community-staging-i686/yagf.install   |   13 ++++++++++
 community-staging-x86_64/PKGBUILD     |   38 ++++++++++++++++++++++++++++++++
 community-staging-x86_64/yagf.install |   13 ++++++++++
 4 files changed, 102 insertions(+)

Copied: yagf/repos/community-staging-i686/PKGBUILD (from rev 149118, 
yagf/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2015-12-06 19:40:15 UTC (rev 149119)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Contributor: das-ich <[email protected]>
+
+pkgname=yagf
+pkgver=0.9.5
+pkgrel=2
+pkgdesc="Qt4-based GUI for Cuneiform and Tesseract OCRs"
+arch=(i686 x86_64)
+url="http://symmetrica.net/cuneiform-linux/yagf-en.html";
+license=('GPL')
+depends=('qt4' 'aspell')
+optdepends=('cuneiform: recognition tool'
+           'tesseract: recognition tool'
+           'xsane: acquire images from a scanner into YAGF directly')
+makedepends=('cmake')
+install=yagf.install
+#source=(https://yagf.googlecode.com/archive/yagf-$pkgver.tar.gz)
+source=(http://downloads.sourceforge.net/project/yagf-ocr/yagf-$pkgver.tar.gz)
+md5sums=('cc01d671fafbfa71fad3d95591ccca37')
+
+prepare() {
+  cd `find ${srcdir}/ -type d -name "${pkgname}*"`
+  cp src/images/{A,a}lign.png
+  sed -i '1,1i#include <unistd.h>' src/mainform.cpp
+}
+
+build() {
+  cd `find ${srcdir}/ -type d -name "${pkgname}*"`
+  cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .
+  make
+}
+
+package() {
+  cd `find ${srcdir}/ -type d -name "${pkgname}*"`
+  make DESTDIR=${pkgdir} install
+  [ -d $pkgdir/usr/lib64 ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib || true
+}

Copied: yagf/repos/community-staging-i686/yagf.install (from rev 149118, 
yagf/trunk/yagf.install)
===================================================================
--- community-staging-i686/yagf.install                         (rev 0)
+++ community-staging-i686/yagf.install 2015-12-06 19:40:15 UTC (rev 149119)
@@ -0,0 +1,13 @@
+post_install() {
+       [ -x `which update-mime-database` ] &&  update-mime-database 
usr/share/mime
+       [ -x `which gtk-update-icon-cache` ] && gtk-update-icon-cache -q -t -f 
usr/share/icons/hicolor
+       bin/true
+}
+
+post_upgrade() {
+       post_install $1
+}
+
+post_remove() {
+       post_install $1
+}

Copied: yagf/repos/community-staging-x86_64/PKGBUILD (from rev 149118, 
yagf/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-06 19:40:15 UTC (rev 149119)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Contributor: das-ich <[email protected]>
+
+pkgname=yagf
+pkgver=0.9.5
+pkgrel=2
+pkgdesc="Qt4-based GUI for Cuneiform and Tesseract OCRs"
+arch=(i686 x86_64)
+url="http://symmetrica.net/cuneiform-linux/yagf-en.html";
+license=('GPL')
+depends=('qt4' 'aspell')
+optdepends=('cuneiform: recognition tool'
+           'tesseract: recognition tool'
+           'xsane: acquire images from a scanner into YAGF directly')
+makedepends=('cmake')
+install=yagf.install
+#source=(https://yagf.googlecode.com/archive/yagf-$pkgver.tar.gz)
+source=(http://downloads.sourceforge.net/project/yagf-ocr/yagf-$pkgver.tar.gz)
+md5sums=('cc01d671fafbfa71fad3d95591ccca37')
+
+prepare() {
+  cd `find ${srcdir}/ -type d -name "${pkgname}*"`
+  cp src/images/{A,a}lign.png
+  sed -i '1,1i#include <unistd.h>' src/mainform.cpp
+}
+
+build() {
+  cd `find ${srcdir}/ -type d -name "${pkgname}*"`
+  cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .
+  make
+}
+
+package() {
+  cd `find ${srcdir}/ -type d -name "${pkgname}*"`
+  make DESTDIR=${pkgdir} install
+  [ -d $pkgdir/usr/lib64 ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib || true
+}

Copied: yagf/repos/community-staging-x86_64/yagf.install (from rev 149118, 
yagf/trunk/yagf.install)
===================================================================
--- community-staging-x86_64/yagf.install                               (rev 0)
+++ community-staging-x86_64/yagf.install       2015-12-06 19:40:15 UTC (rev 
149119)
@@ -0,0 +1,13 @@
+post_install() {
+       [ -x `which update-mime-database` ] &&  update-mime-database 
usr/share/mime
+       [ -x `which gtk-update-icon-cache` ] && gtk-update-icon-cache -q -t -f 
usr/share/icons/hicolor
+       bin/true
+}
+
+post_upgrade() {
+       post_install $1
+}
+
+post_remove() {
+       post_install $1
+}

Reply via email to