diff options
author | Jonathon Fernyhough | 2021-03-04 17:33:39 +0000 |
---|---|---|
committer | Jonathon Fernyhough | 2021-03-04 17:33:39 +0000 |
commit | 326254d241e52296551fabff77e4366d5485fe19 (patch) | |
tree | b99bc10b163ec9c61cfecafeace3dc07c14c84b8 /PKGBUILD | |
parent | 526188453c95beb918a9d40a517c38162b9895da (diff) | |
download | aur-326254d241e52296551fabff77e4366d5485fe19.tar.gz |
Update submodule handling
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -9,8 +9,14 @@ url="https://github.com/AppImage/zsync2" license=("custom:Artistic") depends=(curl) makedepends=(cmake git gnutls openssl zlib) -source=(git+$url.git) -b2sums=('SKIP') +source=(git+$url.git + git+https://github.com/Taywee/args.git + git+https://github.com/AppImage/cpr.git + git+https://github.com/google/googletest.git) +b2sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP') pkgver() { cd ${pkgname/-git/} @@ -22,7 +28,11 @@ pkgver() { prepare() { cd ${pkgname/-git/} - git submodule update --init + git submodule init + git config submodule.lib/args.url "$srcdir"/args + git config submodule.lib/cpr.url "$srcdir"/cpr + git config submodule.lib/gtest.url "$srcdir"/googletest + git submodule update } build() { |