[arch-commits] Commit in traefik/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sat Feb 22 13:31:07 UTC 2020
Date: Saturday, February 22, 2020 @ 13:31:05
Author: shibumi
Revision: 578514
upgpkg: traefik 2.1.4-2 change description add test
Modified:
traefik/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-22 13:19:31 UTC (rev 578513)
+++ PKGBUILD 2020-02-22 13:31:05 UTC (rev 578514)
@@ -2,8 +2,8 @@
pkgname=traefik
pkgver=2.1.4
-pkgrel=1
-pkgdesc="Simple tool for making locally-trusted development certificates"
+pkgrel=2
+pkgdesc="Modern reverse proxy written in Go"
arch=('x86_64')
url="https://containo.us/traefik/"
license=('MIT')
@@ -18,6 +18,10 @@
go build -trimpath -ldflags "-extldflags ${LDFLAGS}"
}
+check() {
+ go test ./...
+}
+
package() {
install -Dm755 cmd/traefik/"${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
More information about the arch-commits
mailing list