[arch-commits] Commit in (5 files)

Alexander Epaneshnikov alex19ep at gemini.archlinux.org
Wed Jan 12 18:57:15 UTC 2022


    Date: Wednesday, January 12, 2022 @ 18:57:14
  Author: alex19ep
Revision: 1101715

add ocrdesktop

Added:
  ocrdesktop/
  ocrdesktop/repos/
  ocrdesktop/trunk/
  ocrdesktop/trunk/PKGBUILD
  ocrdesktop/trunk/ocrdesktop.install

--------------------+
 PKGBUILD           |   21 +++++++++++++++++++++
 ocrdesktop.install |    3 +++
 2 files changed, 24 insertions(+)

Added: ocrdesktop/trunk/PKGBUILD
===================================================================
--- ocrdesktop/trunk/PKGBUILD	                        (rev 0)
+++ ocrdesktop/trunk/PKGBUILD	2022-01-12 18:57:14 UTC (rev 1101715)
@@ -0,0 +1,21 @@
+# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.org>
+# Contributor: Chrys <mail at chrys.de>
+
+pkgname=ocrdesktop
+pkgver=3.0
+pkgrel=2
+pkgdesc="OCR the current window or desktop and make it browsable for the user"
+arch=('any')
+url="https://github.com/chrys87/ocrdesktop"
+license=('GPL3')
+depends=('libwnck3' 'python-atspi' 'python-pillow' 'python-webcolors' 'python-scipy' 'python-pytesseract')
+install='ocrdesktop.install'
+source=("${pkgname}.tar.gz::https://github.com/chrys87/ocrdesktop/archive/refs/tags/v$pkgver.tar.gz")
+sha512sums=('7b15be57a468afca068cd63164ef69bce0d240098513d78bfd786f7bcc72a1c5a181bc7592c9737a392a8c5a30752df2d58a85fae2f0531a6c8d3d46a41a4ca3')
+b2sums=('aa197056e8766b8c04de64c4050bd1a316da92b3405fc3d2b926d1acaacc4306df6e1f67fa1dca3fd3f7a96930f9a6fb18e9818eb51ffe85e25a3b73703e9189')
+
+package() {
+	cd ${pkgname}-${pkgver}
+	install -vDm755 ocrdesktop "$pkgdir/usr/bin/ocrdesktop"
+	install -vDm644 ocrdesktop.1.gz "${pkgdir}/usr/share/man/man1/ocrdesktop.1.gz"
+}

Added: ocrdesktop/trunk/ocrdesktop.install
===================================================================
--- ocrdesktop/trunk/ocrdesktop.install	                        (rev 0)
+++ ocrdesktop/trunk/ocrdesktop.install	2022-01-12 18:57:14 UTC (rev 1101715)
@@ -0,0 +1,3 @@
+post_install() {
+	echo "you need to install tesseract-data-<language_code> for working with this application"
+}



More information about the arch-commits mailing list