diff options
author | kyechou | 2024-04-28 23:11:29 -0500 |
---|---|---|
committer | kyechou | 2024-04-28 23:11:29 -0500 |
commit | a9517a53214e8b316eb8f1be7ebc34b64a836599 (patch) | |
tree | 37cc77821875fbf2e57f0f7089f277da99680395 /PKGBUILD | |
parent | c8030eef858a49bf7655cab6a7e300bd418ea59d (diff) | |
download | aur-gllvm-git.tar.gz |
Fix the go install command
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ # Maintainer: Kuan-Yen Chou <kuanyenchou at gmail dot com> pkgname=gllvm-git -pkgver=1.3.001.r26.g48db30d +pkgver=1.3.1.r13.g154531b pkgrel=1 pkgdesc="Whole Program LLVM: wllvm ported to go" arch=('any') @@ -27,8 +27,10 @@ pkgver() { package() { cd "$srcdir/$pkgname" export GOPATH="$pkgdir/usr" - GO111MODULE=off go get github.com/SRI-CSL/gllvm/cmd/... + go install github.com/SRI-CSL/gllvm/cmd/...@latest rm -rf "$pkgdir/usr/src" + # This is needed in case the `--clean` option is used with makepkg. + chmod -R u+w "$pkgdir/usr/pkg/mod" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |