Initial commit

This commit is contained in:
Anthony Wang 2022-02-19 10:47:44 -06:00
commit 281c65bad8
Signed by: a
GPG key ID: BC96B00AEC5F2D76
2 changed files with 43 additions and 0 deletions

16
.SRCINFO Normal file
View file

@ -0,0 +1,16 @@
pkgbase = plugin-git
pkgdesc = Woodpecker plugin for cloning Git repositories
pkgver = 1.1.1
pkgrel = 1
url = https://woodpecker-ci.org/docs/usage/pipeline-syntax#clone
arch = any
license = Apache
makedepends = git
makedepends = openssh
makedepends = curl
makedepends = go
depends = glibc
source = plugin-git-1.1.1.tar.gz::https://github.com/woodpecker-ci/plugin-git/archive/v1.1.1.tar.gz
sha256sums = b3dd0a3600964d6b3c2a1b135d1e88c5a9a5d068d58b2d98c1a64d2ee02587df
pkgname = plugin-git

27
PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
# Maintainer: Anthony Wang <ta180m@pm.me>
pkgname=plugin-git
pkgver=1.1.1
pkgrel=1
pkgdesc="Woodpecker plugin for cloning Git repositories"
arch=(any)
url="https://woodpecker-ci.org/docs/usage/pipeline-syntax#clone"
license=('Apache')
makedepends=('git' 'openssh' 'curl' 'go')
depends=('glibc')
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/woodpecker-ci/$pkgname/archive/v$pkgver.tar.gz"
)
build() {
cd "$pkgname-$pkgver"
GOFLAGS=-trimpath make build
}
package() {
cd "$pkgname-$pkgver"
install -vDm755 -t "$pkgdir/usr/bin" release/plugin-git
}
sha256sums=('b3dd0a3600964d6b3c2a1b135d1e88c5a9a5d068d58b2d98c1a64d2ee02587df')