diff options
author | Wolf | 2018-01-10 18:03:52 +0100 |
---|---|---|
committer | Wolf | 2018-01-10 18:03:52 +0100 |
commit | db8e790cc14cf6248bc04eb9b207245084ac471d (patch) | |
tree | 5720bbffbe9a63e5736384ee2626ae8b8ed516fb | |
parent | ef67e1057a501617f6be92e9bdc8b04af2810952 (diff) | |
download | aur-db8e790cc14cf6248bc04eb9b207245084ac471d.tar.gz |
Fix submodule
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 17 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = xbase pkgdesc = A C++ library pkgver = 3.3.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/graywolf/xbase arch = i686 arch = x86_64 @@ -11,6 +11,8 @@ pkgbase = xbase depends = gcc-libs options = staticlibs source = git+https://github.com/graywolf/xbase#tag=3.3.0 + source = git+https://github.com/3rd_party/googletest + sha512sums = SKIP sha512sums = SKIP pkgname = xbase @@ -4,7 +4,7 @@ pkgname=xbase pkgver=3.3.0 -pkgrel=1 +pkgrel=2 pkgdesc="A C++ library" arch=('i686' 'x86_64') url='https://github.com/graywolf/xbase' @@ -13,11 +13,22 @@ depends=('gcc-libs') makedepends=('git' 'cmake') options=(staticlibs) -source=("git+https://github.com/graywolf/xbase#tag=${pkgver}") -sha512sums=('SKIP') +source=( + "git+https://github.com/graywolf/xbase#tag=${pkgver}" + "git+https://github.com/3rd_party/googletest" +) +sha512sums=( + 'SKIP' + 'SKIP' +) prepare() { cd "${pkgname}" + + git submodule init + git config submodule.3rd_party/googletest.url "${srcdir}/googletest" + git submodule update + mkdir -p build } |