diff options
author | Hennadii Chernyshchyk | 2022-05-11 00:51:00 +0300 |
---|---|---|
committer | Hennadii Chernyshchyk | 2022-05-11 00:51:00 +0300 |
commit | 771b73383b6b0881dda5e7d3505b257c3db5219a (patch) | |
tree | 2c1f4e859d50251378866bc224b4ffe158e54eda | |
parent | 9baaef9a107016a5adf5394d377a174b52d06f21 (diff) | |
download | aur-771b73383b6b0881dda5e7d3505b257c3db5219a.tar.gz |
Update to download submodules
-rwxr-xr-x | .SRCINFO | 2 | ||||
-rwxr-xr-x | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -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 @@ -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} |