diff options
author | dakyskye | 2020-05-27 20:27:21 +0400 |
---|---|---|
committer | dakyskye | 2020-05-27 20:27:21 +0400 |
commit | 9b39c223ff788df1a9f799dc6e40e6697b28f701 (patch) | |
tree | 7575e51e008bd45621b74a47671d7bd9c2be5703 | |
parent | 518d70ba41e842472a3ffa1356b26d1db2ef7063 (diff) | |
download | aur-9b39c223ff788df1a9f799dc6e40e6697b28f701.tar.gz |
added provides and conflicts vars to pkgbuild; changed the build command
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -7,6 +7,8 @@ pkgbase = dxhd-git license = MIT makedepends = git depends = go + provides = dxhd + conflicts = dxhd-bin source = dxhd-git::git+https://github.com/dakyskye/dxhd.git md5sums = SKIP @@ -8,13 +8,15 @@ url="https://github.com/dakyskye/dxhd" license=('MIT') depends=('go') makedepends=('git') +provides=('dxhd') +conflicts=('dxhd-bin') source=("$pkgname::git+https://github.com/dakyskye/dxhd.git") md5sums=('SKIP') build() { cd "$pkgname" - CGO_ENABLED=0 go build -o $pkgname . + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o $pkgname . } package() { |