summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f20d81e278b1d41ad7ddbea7330608004712fec (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=pebble
pkgver=2.0.1
pkgrel=1
arch=("x86_64")
url="https://github.com/avanciro/pebble"
pkgdesc="Simple cli utility to manage database schema"
makedepends=("go")
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=("1a024b81405cc811d1ee225254bcce479c6c722637e80f2a51091da70b9836b8")

build() {
    cd "${pkgname}-${pkgver}"
    go build ./pebble.go
}

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