summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4e1eb9d05ed2402b321af690186b4fdbe31fc07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Shyamin Ayesh <me@shyamin.com>

pkgname=miga
pkgver=0.7.2
pkgrel=1
arch=("x86_64")
makedepends=("go")
url="https://github.com/chapsuk/miga"
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=("27f786158090eb4e7df590bbdaa74b3345d219bb089e6b5cfe8ca5a32507376a")


build() {
    cd "${pkgname}-${pkgver}"
    make build
}

package() {
    install -d "${pkgdir}/usr/bin"
    install -Dm755 "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}