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
|
2024-01-28 00:38:55 +00:00
|
|
|
pkgver=2.5.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")
|
2024-01-28 00:38:55 +00:00
|
|
|
sha256sums=('5056ede5942d8b404449804ad10295fc6a988e8efeef3c5f8540eccf0f605d29')
|
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
|
|
|
|
}
|