summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 853b203fc9a0e15c6b01c13e25cae8ef58cfae6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: William Batista <bootlegbilly at protonmail dot ch>

pkgname="gotesplit"
pkgver="0.3.1"
pkgrel="1"
pkgdesc="gotesplit splits the testng in Go into a subset and run it"
arch=('x86_64')
url="https://github.com/Songmu/gotesplit"
license=('MIT')
depends=('go')
source=("$pkgname-$pkgver.tar.gz::https://github.com/Songmu/gotesplit/archive/refs/tags/v$pkgver.tar.gz")
b2sums=("4b845a417d4013fe9ad0c74865a4cfb4a7c22bfddeff2094c041a573d9f4a77b6f09b0b5d03bb931f6f27a2ae7c77a4523a466d427c4b3cccb8001dc3e7c15ed")
package() {
  cd "${srcdir}/${pkgname}-${pkgver}/cmd/gotesplit/"
  go build -o gotesplit .
  mkdir -p "${pkgdir}/usr/bin/"
  chmod +x ./gotesplit
  mv ./gotesplit "${pkgdir}/usr/bin/"
}