summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d9f873770239a54fb9ae5db81c10b2ed747abc37 (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
26
27
# Maintainer: Alexander Rødseth <rodseth@gmail.com>

pkgname=gorun
pkgver=19
pkgrel=2
pkgdesc="Program to run Go programs as if they were scripts"
arch=('x86_64' 'i686')
url="http://launchpad.net/gorun/"
license=('GPL3')
makedepends=('go')
options=(!strip)
source=("http://bazaar.launchpad.net/~niemeyer/gorun/trunk/download/head:/gorun.go-20110311220116-kde0kha0feljz1pm-3/gorun.go")
sha256sums=('a5655571c1e89c267e14ce8f6944f9f4e88e13ecef7783c8a9b4eb21f94bd4cf')

build() {
  cd "$srcdir"

  go build -o $pkgname
}

package() {
  cd "$srcdir"

  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
}

# vim:set ts=2 sw=2 et: