summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8eff40778ea7763dee793bb826a80222481dbf79 (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.2
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=("b9226bf866e7e89e62ce1c84ccbf8e00ca3d0bfa24f6e1bf6ff49e62555c1e74")

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

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