[arch-commits] Commit in cgasm/repos/community-x86_64 (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Wed Sep 16 12:31:49 UTC 2020


    Date: Wednesday, September 16, 2020 @ 12:31:49
  Author: arodseth
Revision: 707429

archrelease: copy trunk to community-x86_64

Added:
  cgasm/repos/community-x86_64/PKGBUILD
    (from rev 707428, cgasm/trunk/PKGBUILD)

----------+
 PKGBUILD |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Copied: cgasm/repos/community-x86_64/PKGBUILD (from rev 707428, cgasm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-16 12:31:49 UTC (rev 707429)
@@ -0,0 +1,24 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: l0gic
+# Contributor: 0xAA <0xaa at dmg.sx>
+
+pkgname=cgasm
+pkgver=0.0.0
+pkgrel=1
+pkgdesc='x86 Assembly documentation in the form of a CLI tool'
+arch=(x86_64)
+url='https://github.com/bnagy/cgasm'
+license=(GPL2)
+makedepends=(git go)
+source=("git+$url#commit=6c54b38020a075e700343335fe44c45f16e22f3c")
+sha256sums=('SKIP')
+
+build() {
+  cd "$pkgname"
+  export CGO_CPPF
+  go build -v -trimpath -buildmode=pie -ldflags="-s -w -linkmode external -extldflags \"$LDFLAGS\""
+}
+
+package() {
+  install -D -m755 $pkgname/cgasm "$pkgdir/usr/bin/cgasm"
+}



More information about the arch-commits mailing list