blob: d658c920b0df7191c579d6281f2bc8afc84cca3f (
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: Quentin Bourgeois <quentin+archlinux@bourgeois.eu>
pkgname=mc-cli
pkgver=20180114
pkgrel=1
pkgdesc='Command line tool to interact with a running moolticute daemon'
arch=('x86_64' 'i686')
license=('GPL3')
depends=('moolticute')
makedepends=('git'
'go')
url="https://github.com/raoulh/${pkgname}"
_gourl="${url##https://}"
build() {
cd "${srcdir}"
GOPATH="${srcdir}" go get -fix -v -x "${_gourl}"
}
package() {
cd "${srcdir}"
install -p -Dm 755 "${srcdir}/bin/mc-cli" "${pkgdir}/usr/bin/mc-cli"
}
|