Commit e7a9fe28 authored by Leo's avatar Leo
Browse files

testing/drone: upgrade to 1.4.0

parent 46e5d220
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer:
pkgname=drone
pkgver=1.2.1
pkgrel=1
pkgver=1.4.0
pkgrel=0
pkgdesc="Container-Native, Continuous Delivery Platform"
url="https://drone.io/"
arch="all"
......@@ -10,21 +10,19 @@ license="custom"
makedepends="go"
options="!check"
_commands="
$pkgname-agent:_pkg
$pkgname-controller:_pkg
$pkgname-server:_pkg
"
$pkgname-agent:_pkg
$pkgname-controller:_pkg
$pkgname-server:_pkg
"
subpackages="
$_commands
$pkgname-doc
"
source="$pkgname-$pkgver.tar.gz::https://github.com/drone/drone/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
export GOPATH="$srcdir"
build() {
cd "$builddir"
for pkg in $_commands; do
GO111MODULE=on go build -o bin/${pkg%%:*} ./cmd/${pkg%%:*}
done
......@@ -47,4 +45,4 @@ cleanup_srcdir() {
default_cleanup_srcdir
}
sha512sums="06dce7d8ffc84d9f61d2f40d412b92c63a64628841fcb50d9bb5faf792c07d65c892f461d6b5214c41dc8842ae1d07627980d85a3cc601663c6f956cd9fa0329 drone-1.2.1.tar.gz"
sha512sums="fdf9362bbe1b440f9afe55b7bddf7e33d2beb5bc00e9f9281af847a6caa4d2372661de3ab6214d49c8a4b2184a37e89c513425eddad2f4934e9864616babf533 drone-1.4.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment