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
|
2023-03-31 15:16:50 +00:00
|
|
|
pkgver=2.0.3
|
2023-06-27 03:33:47 +00:00
|
|
|
pkgrel=2
|
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-03-31 15:16:50 +00:00
|
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/woodpecker-ci/$pkgname/archive/v$pkgver.tar.gz")
|
|
|
|
sha256sums=('903a38058b29a4d1c38789539282ffdcb60e8475c6bb29f7fa7c6771c16264ae')
|
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
|
|
|
|
}
|