[arch-commits] Commit in (5 files)

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


    Date: Wednesday, September 16, 2020 @ 12:31:19
  Author: arodseth
Revision: 707428

Add cgasm, a useful utility for helping out when programming in Assembly

Added:
  cgasm/
  cgasm/repos/
  cgasm/repos/community-x86_64/
  cgasm/trunk/
  cgasm/trunk/PKGBUILD

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

Added: cgasm/trunk/PKGBUILD
===================================================================
--- cgasm/trunk/PKGBUILD	                        (rev 0)
+++ cgasm/trunk/PKGBUILD	2020-09-16 12:31:19 UTC (rev 707428)
@@ -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