summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 26c3630d368c584cff057888b87b6f7578c775c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: snemc snemc @3112671039@qq.com

pkgname=umi-ocr-bin
_pkgname=${pkgname}
pkgrel=1
pkgver=2.1.4
pkgdesc="免费,开源,可批量的离线OCR软件 Free, open source, batch-capable offline OCR software, Free, open source, offline OCR software that can batch"
arch=('x86_64')
url="https://github.com/hiroi-sora/Umi-OCR"
license=('MIT')
depends=()
makedepends=(bash tar)

_srcfilename_x86_64="Umi-OCR_Linux_Paddle_${pkgver}.tar.xz"


source=("umi-ocr.desktop")
source=("${_srcfilename_x86_64}::https://github.com/hiroi-sora/Umi-OCR/releases/download/v2.1.4/Umi-OCR_Linux_Paddle_${pkgver}.tar.xz")

sha256sums=('0dae3a93eb4fc8da23097944f403d143430ec27a91ce3fa563ac5d363b69246e')


package() {
  install -d "${pkgdir}/$(whoami)/.local/share"
  cp -r "${srcdir}"  "${pkgdir}/$(whoami)/.local/share"
}