summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dffb286edcae9162981bb31b5a3629b240595add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Peter Roberts <me@peter-r.co.uk>
pkgname=go-zoom-bin
provides=("go-zoom")
pkgver=0.1.3
pkgrel=1
pkgdesc="Parallel command executor with a focus on simplicity and good cross-platform behaviour."
arch=("x86_64")
url="https://github.com/pwr22/go-zoom"
_rawurl="https://raw.githubusercontent.com/pwr22/go-zoom"
license=('MIT')
depends=("glibc")
source=("$url/releases/download/v$pkgver/go-zoom-linux-amd64")
sha256sums=("cc4b7a18dd21d416a11cd36e168fcadbded634c8b9d9239a804d2186463cfa0e")

# Go stuff based on https://wiki.archlinux.org/index.php/Go_package_guidelines

prepare(){
  curl -o "LICENSE" "$_rawurl/v$pkgver/LICENSE"
}

package() {
	install -Dm755 "go-zoom-linux-amd64" "$pkgdir/usr/bin/go-zoom"
	mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
	cp LICENSE "$pkgdir/usr/share/licenses/$pkgname"
}