change description add test
This commit is contained in:
parent
012ccf6b6b
commit
bb2af51bd9
8
PKGBUILD
8
PKGBUILD
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
pkgname=traefik
|
pkgname=traefik
|
||||||
pkgver=2.1.4
|
pkgver=2.1.4
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Simple tool for making locally-trusted development certificates"
|
pkgdesc="Modern reverse proxy written in Go"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://containo.us/traefik/"
|
url="https://containo.us/traefik/"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
@ -18,6 +18,10 @@ build() {
|
|||||||
go build -trimpath -ldflags "-extldflags ${LDFLAGS}"
|
go build -trimpath -ldflags "-extldflags ${LDFLAGS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
go test ./...
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm755 cmd/traefik/"${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
install -Dm755 cmd/traefik/"${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
||||||
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user