summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4edbcf446de18ca517fb581c8e04db045d6ed9d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: anekos <anekos atmark snca period net>
pkgname=ezoe-git
pkgver=0.0.1
pkgrel=1
pkgdesc="Not a question"
arch=('i686' 'x86_64')
url="https://github.com/mattn/ezoe"
license=('MIT')
makedepends=('git' 'go')
provides=('ezoe')
_gourl="github.com/mattn/ezoe"

build() {
	GOPATH=$srcdir go get -v -d -x $_gourl
	cd $srcdir/src/$_gourl
	GOPATH=$srcdir go build -o $srcdir/ezoe
}

package() {
	cd "$srcdir"
	install -Dm755 ezoe "$pkgdir/usr/bin/ezoe"
}