summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b379240c668ecaed375ac65e506bcbc993f26169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=git-xargs
_pkgname=git-xargs
pkgver=0.1.7
pkgdesc='git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.'
pkgrel=1
arch=('i686' 'x86_64')
url='https://github.com/gruntwork-io/git-xargs'
source=("https://github.com/gruntwork-io/git-xargs/archive/refs/tags/v${pkgver}.tar.gz")
depends=()
makedepends=('go')
b2sums=('900273067e1928fbe6491d8248007878711161b3ed0b906f486c75a3ebd1cc9958792c149d00e59842a986936abd5ce981874916abeb9100cdfee17e15324a65')
license=('Apache')

build(){
  cd "$srcdir/$pkgname-$pkgver"
  GO111MODULE=on go build -o "$srcdir/bin/git-xargs"
}

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