25 lines
646 B
Bash
25 lines
646 B
Bash
# Maintainer: Anthony Wang <a aat exozy doot me>
|
|
|
|
pkgname=plugin-git
|
|
pkgver=2.5.1
|
|
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=('7ca56d6954239100466e91f8f9d16f7f77ed21f9aa460938d2846e505ef603b9')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
GOFLAGS=-trimpath make build
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
install -vDm755 -t "$pkgdir/usr/bin" release/plugin-git
|
|
}
|