Package Details: gazou-git 0.3.3-1

Git Clone URL: https://aur.archlinux.org/gazou-git.git (read-only, click to copy)
Package Base: gazou-git
Description: A Japanese and Chinese OCR application for linux
Upstream URL: https://github.com/kamui-fin/gazou
Licenses: GPL
Submitter: Kamui_Ion
Maintainer: Kamui_Ion
Last Packager: Kamui_Ion
Votes: 5
Popularity: 0.076907
First Submitted: 2020-12-29 16:22 (UTC)
Last Updated: 2024-03-12 23:20 (UTC)

Required by (0)

Sources (1)

Latest Comments

exploder-jimmy commented on 2022-02-25 05:33 (UTC) (edited on 2022-02-25 05:40 (UTC) by exploder-jimmy)

Please apply this patch so that the package always automatically rebuilt on latest commit:

diff --git a/PKGBUILD b/PKGBUILD
index 4a86d07..2da14ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Kamui
 pkgname=gazou-git
-pkgver=0.2.0
+pkgver=0.2.1.r3.g36b77c7
 pkgrel=1
 pkgdesc="A Japanese OCR application for linux"
 arch=("i686" "x86_64")
@@ -17,6 +17,11 @@ prepare() {
   git submodule update --init
 }

+pkgver() {
+  cd "${pkgname}"
+  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
 build() {
   cd "${pkgname}/build"
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DGUI=ON

ArMor007 commented on 2021-12-16 23:46 (UTC)

it doesn't work for me without his patch

diff --git a/PKGBUILD b/PKGBUILD
index 76d36f0..4a86d07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ url="https://github.com/kamui-fin/gazou"
 license=('GPL')
 depends=("tesseract" "leptonica" "qt5-base" "qt5-x11extras")
 makedepends=("cmake" "pkg-config" "git")
-source=("$pkgname::git://github.com/kamui-fin/gazou.git")
+source=("$pkgname::git+https://github.com/kamui-fin/gazou.git")
 md5sums=('SKIP')

 prepare() {

JavanAsher commented on 2021-11-25 18:04 (UTC)

pkgrel in PKGBUILD has to match the AUR package's details above, or it'll cause an upgrade loop where the package manage thinks it needs to be updated again (because AUR shows 0.2.0-2 but PKGBUILD given has it as 0.2.0-1).