diff options
author | Rhys Perry | 2019-09-10 21:43:02 +0200 |
---|---|---|
committer | Rhys Perry | 2019-09-10 21:43:02 +0200 |
commit | a9a4a6af464911087e26792a17beafbacb835029 (patch) | |
tree | 2427231e1985b6a4dac2fe49b0b096692b719c77 | |
parent | d65ecc589d2568a191f6245a00a305278107f6fd (diff) | |
download | aur-a9a4a6af464911087e26792a17beafbacb835029.tar.gz |
Make compatible with yay
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -27,7 +27,13 @@ prepare(){ build(){ cp -r "$srcdir" "$blddir" + cd "$blddir" + + mkdir -p gopath/src/github.com/usefathom + ln -rTsf "$_gitname" gopath/src/github.com/usefathom/fathom + export GOPATH="$blddir"/gopath + cd "$_gitname" make build } @@ -35,4 +41,5 @@ package(){ cd "$blddir"/"$_gitname" install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE install -Dm755 fathom "$pkgdir"/usr/bin/fathom + rm -rf "$blddir" }
\ No newline at end of file |