diff options
author | Joakim Repomaa | 2019-10-31 15:23:37 +0100 |
---|---|---|
committer | Joakim Repomaa | 2019-10-31 15:23:37 +0100 |
commit | de3b50d477d740c1114c8f26a86bbbc8243fdfe5 (patch) | |
tree | 18148c0eb41b9cb980ccd67bd0289fe64c50cc31 | |
parent | d5417e0e0e6756c16721f935257e8b1164ca0e32 (diff) | |
download | aur-de3b50d477d740c1114c8f26a86bbbc8243fdfe5.tar.gz |
get dependencies during prepare()
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Tue May 21 09:12:54 UTC 2019 +# Thu Oct 31 14:23:29 UTC 2019 pkgbase = matterircd pkgdesc = Minimal IRC server which integrates with mattermost and slack pkgver = 0.19.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/42wim/matterircd arch = x86_64 license = MIT @@ -4,7 +4,7 @@ pkgname='matterircd' _github_path="github.com/42wim/${pkgname}" _go_pkg_path="src/${_github_path}" pkgver='0.19.2' -pkgrel='1' +pkgrel='2' pkgdesc='Minimal IRC server which integrates with mattermost and slack' arch=('x86_64') url='https://github.com/42wim/matterircd' @@ -32,6 +32,8 @@ prepare() { export PATH="$PATH:$GOPATH/bin" mkdir -p "$(dirname "${_go_pkg_path}")" mv "${pkgname}-${pkgver}" "${_go_pkg_path}" + cd "${_go_pkg_path}" + go get ./... } build() { |