aboutsummaryrefslogtreecommitdiffstats
path: root/testing/croc/APKBUILD
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2021-04-14 12:35:34 +0200
committerA. Klitzing <aklitzing@gmail.com>2021-04-22 11:09:34 +0000
commit1f90d1ead238b0db71fd7b78748618f66aa52f62 (patch)
treec36c751b9aa1f3475de2b2f353ef35997ff8ff6e /testing/croc/APKBUILD
parentaaac7336e66b20b8defee21e60456773b696a256 (diff)
downloadaports-1f90d1ead238b0db71fd7b78748618f66aa52f62.tar.gz
aports-1f90d1ead238b0db71fd7b78748618f66aa52f62.tar.bz2
aports-1f90d1ead238b0db71fd7b78748618f66aa52f62.tar.xz
testing/croc: upgrade to 9.1.0 and enable check for s390x/mips
Diffstat (limited to 'testing/croc/APKBUILD')
-rw-r--r--testing/croc/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/testing/croc/APKBUILD b/testing/croc/APKBUILD
index c03004186e..5c663e952b 100644
--- a/testing/croc/APKBUILD
+++ b/testing/croc/APKBUILD
@@ -1,20 +1,21 @@
# Contributor: André Klitzing <aklitzing@@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=croc
-pkgver=8.6.12
+pkgver=9.1.0
pkgrel=0
pkgdesc="Easily and securely send things from one computer to another"
url="https://github.com/schollz/croc"
license="MIT"
-# s390x fails: https://github.com/schollz/croc/issues/218
-# mips/mips64 tests fail
-arch="all !s390x !mips !mips64"
+arch="all"
makedepends="go"
-source="https://github.com/schollz/croc/releases/download/v$pkgver/croc_${pkgver}_src.tar.gz"
+source="https://github.com/schollz/croc/releases/download/v$pkgver/croc_${pkgver}_src.tar.gz
+ https://github.com/schollz/croc/commit/de2bcf114c60d553bbf7a2ebfc3050130613132d.patch
+ "
build() {
export CGO_LDFLAGS="$LDFLAGS"
export GOFLAGS="$GOFLAGS -trimpath -mod=vendor"
+ go mod vendor
go build
}
@@ -26,4 +27,5 @@ package() {
install -Dm755 -t "$pkgdir/usr/bin/" "$pkgname"
}
-sha512sums="36f69bb4b2a33d774141d082f06f702890add252f9ba2b1baf34c745fdca0832a9d1bd40684ed84a50c06b74dd363f71b06b86c7052540a346e603bf42deb1b8 croc_8.6.12_src.tar.gz"
+sha512sums="a5a048448b9890907499240c0aa0707db53da45cbb51e2e7e1f5b78537118ff83ce2e91ae1ef6e1a57c8a9d0e682265621e23613cd0dad5ae9158d57df67a0be croc_9.1.0_src.tar.gz
+c6eec4663d9d423bcbf98b04624a0e01fd57a92ef7f0ef0d758c913bda6470da14d78f2e956b8e405c36919514c4e4d4505807c45e4bdaa2f5bbc1629c5fabcf de2bcf114c60d553bbf7a2ebfc3050130613132d.patch"