blob: 06b2a0a06041239ee08fd027e89c01c8dc7d736e (
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
30
31
32
33
34
|
# Maintainer: Andrew Vos <andrew at andrewvos dot com>
pkgname=vbar-git
pkgver=08042018
pkgrel=1
pkgdesc="A bar"
arch=('any')
url="https://github.com/AndrewVos/vbar"
license=()
depends=('gtk3')
makedepends=('go' 'git' 'vala')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
_go_url=github.com/AndrewVos/vbar
# md5sums=('SKIP' 'SKIP')
check() {
echo "done"
}
build() {
cd "$srcdir"
mkdir -p go
export GOPATH="$srcdir/go"
go get ${_go_url}
}
package() {
cd "$srcdir"
install -Dm755 go/bin/vbar "$pkgdir/usr/bin/vbar"
mkdir -p "$pkgdir/usr/share/doc/vbar/examples"
install -Dm644 "go/src/github.com/AndrewVos/vbar/examples/vbarrc" "$pkgdir/usr/share/doc/vbar/examples/vbarrc"
}
|