deployment and fixed punycode crashing program

This commit is contained in:
2025-05-31 01:40:35 +03:00
parent 896b81c999
commit 259b8543a4
9 changed files with 146 additions and 82 deletions

View File

@@ -8,10 +8,10 @@ arch=('x86_64')
url="https://git.foxarmy.org/leca/checks-parser"
license=('GPL-3.0-or-later')
groups=()
depends=('qt5-base' 'opencv' 'zbar' 'nlohmann-json' 'tesseract' 'qrencode' 'boost')
makedepends=('cmake' 'make' 'gcc' 'git' 'qt5-tools')
depends=('qt6-base' 'opencv' 'nlohmann-json' 'qrencode' 'boost')
makedepends=('cmake' 'make' 'gcc' 'git' 'qt6-tools')
checkdepends=()
optdepends=('tesseract-data-rus: scan russian checks with OCR')
optdepends=()
provides=()
conflicts=("checks-parser-bin")
replaces=()
@@ -25,12 +25,15 @@ sha256sums=('SKIP')
build() {
cd "$pkgname"
cmake -DBUILD_TRANSLATIONS=on .
mkdir build && cd build
cmake -DBUILD_TRANSLATIONS=on ..
make -j ${nproc}
}
package() {
cd "$pkgname"
cd "$pkgname"
cd build
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
##install -Dm755
make DESTDIR="$pkgdir/" PREFIX="/usr" install
}