diff --git a/PKGBUILD b/PKGBUILD index 30880d9..ba8afca 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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 @@ build() { 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"