summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHennadii Chernyshchyk2022-05-11 00:51:00 +0300
committerHennadii Chernyshchyk2022-05-11 00:51:00 +0300
commit771b73383b6b0881dda5e7d3505b257c3db5219a (patch)
tree2c1f4e859d50251378866bc224b4ffe158e54eda
parent9baaef9a107016a5adf5394d377a174b52d06f21 (diff)
downloadaur-771b73383b6b0881dda5e7d3505b257c3db5219a.tar.gz
Update to download submodules
-rwxr-xr-x.SRCINFO2
-rwxr-xr-xPKGBUILD8
2 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 01e5728d585a..304454585eae 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = crow-translate-git
pkgdesc = A simple and lightweight translator that allows you to translate and speak text using Google, Yandex Bing, LibreTranslate and Lingva
- pkgver = 2.9.1.r14.g231ba47
+ pkgver = 2.9.3.r0.g2c6214e
pkgrel = 1
url = https://github.com/crow-translate/crow-translate
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 96def5c3329c..29d375231e64 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Shatur <genaloner@gmail.com>
pkgname=crow-translate-git
-pkgver=2.9.1.r14.g231ba47
+pkgver=2.9.3.r0.g2c6214e
pkgrel=1
pkgdesc='A simple and lightweight translator that allows you to translate and speak text using Google, Yandex Bing, LibreTranslate and Lingva'
arch=(x86_64 aarch64)
@@ -19,6 +19,12 @@ pkgver() {
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ cd ${pkgname%-git}
+ git submodule init
+ git submodule update
+}
+
build() {
cd ${pkgname%-git}