[arch-commits] Commit in (5 files)

Alexander Rødseth arodseth at archlinux.org
Mon Aug 19 11:54:36 UTC 2019


    Date: Monday, August 19, 2019 @ 11:54:35
  Author: arodseth
Revision: 500161

Add the Acme assembler

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

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

Added: acme/trunk/PKGBUILD
===================================================================
--- acme/trunk/PKGBUILD	                        (rev 0)
+++ acme/trunk/PKGBUILD	2019-08-19 11:54:35 UTC (rev 500161)
@@ -0,0 +1,40 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=acme
+pkgver=2019.08.19
+pkgrel=1
+pkgdesc='Assembler for the 6502, 6510, 65c02 and 65816 processors'
+arch=(x86_64)
+url='https://github.com/meonwax/acme'
+license=(GPL)
+source=("git+$url#commit=99fae48b1f")
+makedepends=(git setconf)
+conflicts=(plan9port)
+sha256sums=(SKIP)
+
+prepare() {
+  cd $pkgname/src
+  setconf Makefile CFLAGS "$CFLAGS -w"
+  setconf Makefile LIBS "$LDFLAGS -lm"
+}
+
+build() {
+  make -s -C $pkgname/src
+}
+
+package() {
+  cd $pkgname
+
+  # Documentation
+  install -d "$pkgdir/usr/share/doc/acme"
+  install -t "$pkgdir/usr/share/doc/acme" docs/*.txt
+
+  # Executable
+  install -Dm755 src/acme "$pkgdir/usr/bin/acme"
+
+  # Joe syntax highlighting
+  install -Dm644 contrib/joe_syntax/acme.jsf "$pkgdir/usr/share/joe/syntax/acme.jsf"
+  install -Dm644 contrib/joe_syntax/INSTALL "$pkgdir/usr/share/doc/acme/joe.txt"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list