fix: update PKGBUILD to use libvieter

dev
Jef Roosens 2023-07-17 13:53:20 +02:00
parent 22577d3411
commit 1a992806fa
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 14 additions and 4 deletions

View File

@ -11,13 +11,23 @@ makedepends=('git' 'vieter-vlang')
arch=('x86_64' 'aarch64') arch=('x86_64' 'aarch64')
url='https://git.rustybever.be/vieter-v/vieter' url='https://git.rustybever.be/vieter-v/vieter'
license=('AGPL3') license=('AGPL3')
source=("$pkgname::git+https://git.rustybever.be/vieter-v/vieter#tag=${pkgver//_/-}") source=(
md5sums=('SKIP') "$pkgname::git+https://git.rustybever.be/vieter-v/vieter#tag=${pkgver//_/-}"
"libvieter::git+https://git.rustybever.be/vieter-v/libvieter"
)
md5sums=('SKIP' 'SKIP')
prepare() { prepare() {
export VMODULES="$srcdir/.vmodules" cd "${pkgname}"
cd "$pkgname/src" && v install # Add the libvieter submodule
git submodule init
git config submodules.src/libvieter.url "${srcdir}/libvieter"
git -c protocol.file.allow=always submodule update
export VMODULES="${srcdir}/.vmodules"
cd src && v install
} }
build() { build() {