Updated build files for Arch and OpenBSD

This commit is contained in:
Winni Neessen 2021-09-19 17:55:00 +02:00
parent f6cd374412
commit 37e9e0cc02
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ prepare() {
build() { build() {
cd "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
go build -ldflags="-s -w" -o build/${pkgname} ./... go build -ldflags="-s -w" -o build/${pkgname} github.com/wneessen/apg-go/cmd/apg
} }
package() { package() {

View file

@ -16,6 +16,6 @@ PERMIT_PACKAGE = Yes
MODULES = lang/go MODULES = lang/go
MODGO_TYPE = bin MODGO_TYPE = bin
ALL_TARGET = wneessen/apg-go ALL_TARGET = wneessen/apg-go/cmd/apg
.include <bsd.port.mk> .include <bsd.port.mk>