summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5c0cdfd8e44517f4f29d85e7be79652cb4266dfd (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
# Maintainer: Gennadiy Mykhailiuta <gmykhailiuta@gmail.com>

pkgname=gosling-git
_pkgname=gosling
pkgver=r15.31f87c7
pkgrel=1
pkgdesc='Natural sounding text-to-speech in the terminal (and more).'
arch=('x86_64')
url='https://github.com/Samyak2/gosling'
makedepends=("go")
license=('MIT')
source=("git+https://github.com/Samyak2/gosling.git")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/$_pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/$_pkgname"
    go build
}

package() {
    cd "$srcdir/$_pkgname"
    install -Dm755 gosling "$pkgdir"/usr/bin/gosling
}