Add 'plugin-git/' from commit '1841bae8806f00342b3f0c7acbab70b7a2b5b7a7'
git-subtree-dir: plugin-git git-subtree-mainline:db57ad1681
git-subtree-split:1841bae880
This commit is contained in:
commit
794a9fac74
17
plugin-git/.SRCINFO
Normal file
17
plugin-git/.SRCINFO
Normal file
|
@ -0,0 +1,17 @@
|
|||
pkgbase = plugin-git
|
||||
pkgdesc = Woodpecker plugin for cloning Git repositories
|
||||
pkgver = 2.2.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/woodpecker-ci/plugin-git
|
||||
arch = any
|
||||
license = Apache
|
||||
makedepends = go
|
||||
depends = glibc
|
||||
depends = git
|
||||
depends = openssh
|
||||
depends = curl
|
||||
depends = git-lfs
|
||||
source = plugin-git-2.2.0.tar.gz::https://github.com/woodpecker-ci/plugin-git/archive/2.2.0.tar.gz
|
||||
sha256sums = aa4efedd46db11c73b2c5ab98920c30312781d64b242d6144f7dfcf9955bcd6a
|
||||
|
||||
pkgname = plugin-git
|
25
plugin-git/PKGBUILD
Normal file
25
plugin-git/PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Maintainer: Anthony Wang <a aat exozy doot me>
|
||||
|
||||
pkgname=plugin-git
|
||||
pkgver=2.2.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=('aa4efedd46db11c73b2c5ab98920c30312781d64b242d6144f7dfcf9955bcd6a')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
GOFLAGS=-trimpath make build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
install -vDm755 -t "$pkgdir/usr/bin" release/plugin-git
|
||||
}
|
Loading…
Reference in a new issue