summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d745a214980d23bb3460b5290882acf115d8e963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Minecodes <minecodes at minecodes.de>
pkgname=rbcat
pkgver=v1.0.1
pkgrel=2
pkgdesc="A go clone of lolcat with built-in cat function."
arch=('x86_64')
url="https://codeberg.org/Minecodes/rbcat"
license=('bsd-4-clause')
depends=('go')
source=("https://git.minecodes.de/thies/rbcat/raw/branch/main/main.go")
sha256sums=('SKIP')

build() {
  cd "$srcdir"
  export GOPATH="$srcdir"
  go build -o rbcat main.go
}

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