[arch-commits] Commit in cgasm/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sun Feb 21 18:15:47 UTC 2021
Date: Sunday, February 21, 2021 @ 18:15:47
Author: arodseth
Revision: 867789
upgpkg: cgasm 1.0.0-2
Modified:
cgasm/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-21 18:12:52 UTC (rev 867788)
+++ PKGBUILD 2021-02-21 18:15:47 UTC (rev 867789)
@@ -4,8 +4,8 @@
pkgname=cgasm
pkgver=1.0.0
-pkgrel=1
-pkgdesc='x86 Assembly documentation in the form of a CLI tool'
+pkgrel=2
+pkgdesc='CLI tool for browsing documentation for x86 Assembly'
arch=(x86_64)
url='https://github.com/bnagy/cgasm'
license=(GPL2)
@@ -14,11 +14,10 @@
sha256sums=('SKIP')
build() {
- cd "$pkgname"
- export CGO_CPPF
- go build -v -trimpath -buildmode=pie -ldflags="-s -w -linkmode external -extldflags \"$LDFLAGS\""
+ cd $pkgname
+ CGO_CPPF= GO111MODULE=off go build -v -trimpath -buildmode=pie -ldflags="-s -w -linkmode external -extldflags \"$LDFLAGS\""
}
package() {
- install -D -m755 $pkgname/cgasm "$pkgdir/usr/bin/cgasm"
+ install -D -m755 $pkgname/$pkgname "$pkgdir/usr/bin/$pkgname"
}
More information about the arch-commits
mailing list