packages/plugin-git/PKGBUILD

26 lines
646 B
Text
Raw Normal View History

2023-03-31 15:16:50 +00:00
# Maintainer: Anthony Wang <a aat exozy doot me>
2022-02-19 16:47:44 +00:00
pkgname=plugin-git
pkgver=2.4.0
2023-07-26 14:54:27 +00:00
pkgrel=1
2022-02-19 16:47:44 +00:00
pkgdesc="Woodpecker plugin for cloning Git repositories"
arch=(any)
2023-06-27 03:33:47 +00:00
url="https://github.com/woodpecker-ci/plugin-git"
2022-02-19 16:47:44 +00:00
license=('Apache')
2023-06-27 03:33:47 +00:00
makedepends=('go')
depends=('glibc' 'git' 'openssh' 'curl' 'git-lfs')
2023-07-26 14:54:27 +00:00
source=("$pkgname-$pkgver.tar.gz::https://github.com/woodpecker-ci/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('d3d194fddeaf9677edeb9327a7e9682530b33bb59dd611ef7e1a5508332962d6')
2022-02-19 16:47:44 +00:00
build() {
cd "$pkgname-$pkgver"
GOFLAGS=-trimpath make build
}
package() {
cd "$pkgname-$pkgver"
install -vDm755 -t "$pkgdir/usr/bin" release/plugin-git
}