blob: 0177b0d9fcbfafe57a478d4283424386659b3e4f (
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
|
# Maintainer: Siddhant Madhur <siddhant.madhur@gmail.com>
pkgname=bmo
pkgver=v2.0.stable
pkgrel=1
pkgdesc="CLI tool to improve developement experience for traditional compiled web servers"
arch=(x86_64)
url="https://github.com/siddhantmadhur/bmo"
license=(GPL-3.0)
makedepends=(git go)
depends=()
provides=(bmo)
source=("bmo::git+https://github.com/siddhantmadhur/bmo.git")
sha256sums=(SKIP)
pkgver () {
cd bmo
git describe --tags --abbrev=0
}
build() {
cd bmo
go build -ldflags="-X 'main.version=${pkgver}'" -o bmo
}
package() {
cd bmo
install -Dm755 bmo -t "${pkgdir}/usr/bin"
}
|