diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 3 insertions, 14 deletions
@@ -13,8 +13,6 @@ pkgbase = zls-git conflicts = zls replaces = zls-master-data-git source = git+https://github.com/zigtools/zls - source = git+https://github.com/ziglibs/known-folders - sha256sums = SKIP sha256sums = SKIP pkgname = zls-git @@ -12,23 +12,14 @@ replaces=('zls-master-data-git') license=('MIT') depends=('zig') makedepends=('git') -source=(git+https://github.com/zigtools/${_pkgbasename} - git+https://github.com/ziglibs/known-folders) -sha256sums=('SKIP' - 'SKIP') - +source=(git+https://github.com/zigtools/${_pkgbasename}) +sha256sums=('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 -Doptimize=ReleaseSafe |