diff options
author | nycex | 2020-05-20 19:43:06 +0200 |
---|---|---|
committer | nycex | 2020-05-20 19:43:06 +0200 |
commit | 16e19c61ac5b9773bfbe39660d4b2b09e19a689c (patch) | |
tree | e2e822bd40797c005e5a3c0594c8029eb3d5e56e | |
parent | f0efd7aac1fefc753cb10950d97bc267ddd9051d (diff) | |
download | aur-16e19c61ac5b9773bfbe39660d4b2b09e19a689c.tar.gz |
add known folders dependency
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 15 insertions, 4 deletions
@@ -1,12 +1,14 @@ pkgbase = zls-git pkgdesc = Zig LSP implementation + Zig Language Server - pkgver = r127.d9e5859 + pkgver = r199.cffe4af pkgrel = 1 url = https://github.com/zigtools/zls arch = any license = MIT depends = zig source = git+https://github.com/zigtools/zls + source = git+https://github.com/ziglibs/known-folders + sha256sums = SKIP sha256sums = SKIP pkgname = zls-git @@ -2,20 +2,29 @@ _pkgbasename=zls pkgname=${_pkgbasename}-git pkgrel=1 -pkgver=r127.d9e5859 +pkgver=r199.cffe4af pkgdesc="Zig LSP implementation + Zig Language Server" arch=('any') url="https://github.com/zigtools/${_pkgbasename}" license=('MIT') depends=('zig') -source=(git+https://github.com/zigtools/${_pkgbasename}) -sha256sums=('SKIP') +source=(git+https://github.com/zigtools/${_pkgbasename} + git+https://github.com/ziglibs/known-folders) +sha256sums=('SKIP' + 'SKIP') pkgver() { cd "${srcdir}/${_pkgbasename}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd "${srcdir}/${_pkgbasename}" + git submodule init + git config submodule.known-folders.url "$srcdir"/known-folders + git submodule update +} + build() { cd "${srcdir}/${_pkgbasename}" zig build -Drelease-fast |