summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14934c1848b3db3b30dad6e9cae040cc2ff6209b (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
28
29
# Mainintainer : Lucas Rooyakkers <lucas dot rooyakkers at pm dot me>
pkgname=up-git
pkgver=e8ddd78
pkgrel=1
license=('Apache')
pkgdesc="Ultimate Plumber is a tool for writing Linux pipes with instant live preview"
url="https://github.com/akavel/up"
arch=('x86_64')
provides=('up')
conflicts=('up' 'up-bin')
makedepends=('go')
source=("${pkgname}::git+${url}")
sha1sums=('SKIP')

pkgver() {
        cd "${pkgname}"
        echo $(git describe --always | sed 's/-/./g')
}

build() {
  cd ${pkgname}
  go build
}

package() {
  cd ${pkgname}
  install -Dm755 "up" "$pkgdir/usr/bin/up"
}