diff --git a/buildfiles/arch-linux/PKGBUILD b/buildfiles/arch-linux/PKGBUILD index 16a0760..d8fcb7f 100644 --- a/buildfiles/arch-linux/PKGBUILD +++ b/buildfiles/arch-linux/PKGBUILD @@ -18,7 +18,7 @@ prepare() { build() { 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() { diff --git a/buildfiles/openbsd/Makefile b/buildfiles/openbsd/Makefile index dc9906a..08fe24b 100644 --- a/buildfiles/openbsd/Makefile +++ b/buildfiles/openbsd/Makefile @@ -16,6 +16,6 @@ PERMIT_PACKAGE = Yes MODULES = lang/go MODGO_TYPE = bin -ALL_TARGET = wneessen/apg-go +ALL_TARGET = wneessen/apg-go/cmd/apg .include \ No newline at end of file