blob: 6a465d7b4166426cc2c4000300195b8aa071337a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Anthony Wang <a aat exozy doot me>
pkgname=plugin-git
pkgver=2.5.0
pkgrel=1
pkgdesc="Woodpecker plugin for cloning Git repositories"
arch=(any)
url="https://github.com/woodpecker-ci/plugin-git"
license=('Apache')
makedepends=('go')
depends=('glibc' 'git' 'openssh' 'curl' 'git-lfs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/woodpecker-ci/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('5056ede5942d8b404449804ad10295fc6a988e8efeef3c5f8540eccf0f605d29')
build() {
cd "$pkgname-$pkgver"
GOFLAGS=-trimpath make build
}
package() {
cd "$pkgname-$pkgver"
install -vDm755 -t "$pkgdir/usr/bin" release/plugin-git
}
|