diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-10-11 02:37:44 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-11 07:33:57 -0300 |
commit | 0de1026d8aacd2e3b5e30eeb8d75fd6a7b3800aa (patch) | |
tree | 4a5c62f6d888069926a39ee0acef76c632c6b1de /testing/drone-cli | |
parent | 2f6b08cdfcb7fd4b628535a1016a8fa01bdf9d88 (diff) | |
download | aports-0de1026d8aacd2e3b5e30eeb8d75fd6a7b3800aa.tar.bz2 aports-0de1026d8aacd2e3b5e30eeb8d75fd6a7b3800aa.tar.xz |
testing/drone-cli: upgrade to 1.2.0
Diffstat (limited to 'testing/drone-cli')
-rw-r--r-- | testing/drone-cli/APKBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/testing/drone-cli/APKBUILD b/testing/drone-cli/APKBUILD index bf86ddaa35..a8585cb1ca 100644 --- a/testing/drone-cli/APKBUILD +++ b/testing/drone-cli/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Carlo Landmeter <clandmeter@alpinelinux.org> # Maintainer: Rasmus Thomsen <oss@cogitri.dev> pkgname=drone-cli -pkgver=1.1.4 -pkgrel=1 +pkgver=1.2.0 +pkgrel=0 pkgdesc="Drone CLI" url="https://github.com/drone/drone-cli" arch="all" @@ -19,7 +19,7 @@ prepare() { build() { export GOPATH="$srcdir" - go build -ldflags "-X main.version=${pkgver}" -o bin/drone ./drone + go build -ldflags "-X main.version=$pkgver" -o bin/drone ./drone } check() { @@ -30,4 +30,9 @@ package() { install -Dm755 "$builddir"/bin/drone "$pkgdir"/usr/bin/drone } -sha512sums="6a0df849f4086913137e36248925fea70e106b95225708bfd37b9a23199d4bed35c6fa18757311cfe23e8c8eef5d66acde207827a7220cec868ffe515539471f drone-cli-1.1.4.tar.gz" +cleanup_srcdir() { + go clean -modcache + default_cleanup_srcdir +} + +sha512sums="815fb82d2078e229b593cb2f643bb154c5d2525da8a7d81318aae2674af6f93df6d2cfd4b8dc6042219c20087016db4aca1a622224be614c3fbada96bb94535a drone-cli-1.2.0.tar.gz" |