[arch-commits] Commit in ocrad/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 13:41:36 UTC 2020
Date: Tuesday, July 7, 2020 @ 13:41:36
Author: felixonmars
Revision: 658566
archrelease: copy trunk to community-staging-x86_64
Added:
ocrad/repos/community-staging-x86_64/
ocrad/repos/community-staging-x86_64/PKGBUILD
(from rev 658565, ocrad/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: ocrad/repos/community-staging-x86_64/PKGBUILD (from rev 658565, ocrad/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 13:41:36 UTC (rev 658566)
@@ -0,0 +1,24 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=ocrad
+pkgver=0.27
+pkgrel=2
+pkgdesc="OCR (Optical Character Recognition) program based on a feature extraction method"
+arch=('x86_64')
+url="https://www.gnu.org/software/ocrad/"
+license=('GPL')
+depends=('gcc-libs')
+source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz")
+sha256sums=('a9bfe67e9a040907aff5640dca56392476b6a89e48e37dc94ba846c5b6733b36')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS"
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list