diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2,7 +2,7 @@ pkgname=golaunch pkgver=0.7 -pkgrel=1 +pkgrel=2 pkgdesc='a simple .desktop launcher written in go.' arch=('x86_64') url="https://github.com/hen6003/golaunch" @@ -12,6 +12,9 @@ source=("https://github.com/hen6003/golaunch/archive/$pkgver.tar.gz") sha256sums=('7c9de9c52dd08b04aab0fa2b5738ba28d452a7bb42d777636132c19a1199c84c') prepare() { + go mod init main + go mod tidy + go get -u \ github.com/rkoesters/xdg/basedir \ github.com/rkoesters/xdg/desktop @@ -19,8 +22,6 @@ prepare() { build() { cd "$pkgname"-"$pkgver" - go mod init main - go mod tidy cd golaunch go build -gcflags "all=-trimpath=$PWD" \ |