[arch-commits] Commit in yagf/repos (6 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Tue Feb 19 13:31:23 UTC 2013


    Date: Tuesday, February 19, 2013 @ 14:31:23
  Author: spupykin
Revision: 84507

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 84506, yagf/trunk/PKGBUILD)
  yagf/repos/community-staging-i686/yagf.install
    (from rev 84506, yagf/trunk/yagf.install)
  yagf/repos/community-staging-x86_64/
  yagf/repos/community-staging-x86_64/PKGBUILD
    (from rev 84506, yagf/trunk/PKGBUILD)
  yagf/repos/community-staging-x86_64/yagf.install
    (from rev 84506, yagf/trunk/yagf.install)

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

Copied: yagf/repos/community-staging-i686/PKGBUILD (from rev 84506, yagf/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-02-19 13:31:23 UTC (rev 84507)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: das-ich <das-ich at yandex.ru>
+
+pkgname=yagf
+pkgver=0.9.2
+pkgrel=3
+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=(http://symmetrica.net/cuneiform-linux/${pkgname}-${pkgver}.tar.gz)
+md5sums=('13592e52006d20f71c0094aafb13ed0e')
+
+build() {
+  cd "${srcdir}/${pkgname}-$pkgver"
+  cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-$pkgver"
+  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 84506, yagf/trunk/yagf.install)
===================================================================
--- community-staging-i686/yagf.install	                        (rev 0)
+++ community-staging-i686/yagf.install	2013-02-19 13:31:23 UTC (rev 84507)
@@ -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 84506, yagf/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-02-19 13:31:23 UTC (rev 84507)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: das-ich <das-ich at yandex.ru>
+
+pkgname=yagf
+pkgver=0.9.2
+pkgrel=3
+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=(http://symmetrica.net/cuneiform-linux/${pkgname}-${pkgver}.tar.gz)
+md5sums=('13592e52006d20f71c0094aafb13ed0e')
+
+build() {
+  cd "${srcdir}/${pkgname}-$pkgver"
+  cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-$pkgver"
+  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 84506, yagf/trunk/yagf.install)
===================================================================
--- community-staging-x86_64/yagf.install	                        (rev 0)
+++ community-staging-x86_64/yagf.install	2013-02-19 13:31:23 UTC (rev 84507)
@@ -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
+}




More information about the arch-commits mailing list