Package Details: dasm 2.20.11-4

Git Clone URL: https://aur.archlinux.org/dasm.git (read-only, click to copy)
Package Base: dasm
Description: A versatile macro assembler with support for several 8-bit microprocessors including 6502, 6507, 6803, HD6303, 68HC11, 68705, and F8
Upstream URL: https://dasm-assembler.github.io/
Licenses: GPL2
Provides: dasm, ftohex
Submitter: FryDay
Maintainer: FryDay
Last Packager: FryDay
Votes: 3
Popularity: 0.165038
First Submitted: 2016-12-30 00:31
Last Updated: 2019-10-27 18:42

Latest Comments

marcinn commented on 2019-10-27 20:14

If anybody is interested there are two alternative assemblers: - mads: https://aur.archlinux.org/packages/mads/ - xasm: https://aur.archlinux.org/packages/xasm/

marcinn commented on 2019-10-26 17:54

Source is outdated. Here is PKGBUILD patch:

diff --git a/PKGBUILD b/PKGBUILD
index 7c531a4..4813f0a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,29 +9,29 @@ _relday=04
 pkgdesc="A versatile macro assembler with support for several 8-bit microprocessors including 6502, 6507, 6803, HD6303, 68HC11, 68705, and F8"
 arch=('x86_64')
 url="http://dasm-dillon.sourceforge.net/"
-source=(https://downloads.sourceforge.net/project/dasm-dillon/dasm-dillon/${pkgver}/${pkgname}-${pkgver}-${_relyear}.${_relmonth}.${_relday}-source.tar.gz)
-sha256sums=('a9330adae534aeffbfdb8b3ba838322b92e1e0bb24f24f05b0ffb0a656312f36')
+source=(https://github.com/dasm-assembler/dasm/archive/$pkgver.tar.gz)
+sha256sums=('c69bbe192159dcf75677ca13bba65c3318dc443f2df45fccd3c060b2e092c7f5')
 license=('GPL2')
 provides=('dasm' 'ftohex')
 depends=('glibc')
 makedepends=('gcc')

 build() {
-  cd "$srcdir/${pkgname}-${pkgver}-${_relyear}${_relmonth}${_relday}"
+  cd "$srcdir/${pkgname}-${pkgver}"
   make
 }

 package() {
-  cd "$srcdir/dasm-${pkgver}-${_relyear}${_relmonth}${_relday}"
+  cd "$srcdir/${pkgname}-${pkgver}"

   install -dm755 "$pkgdir/usr/bin"
   install -Dm755 bin/dasm bin/ftohex "$pkgdir/usr/bin"

   install -dm755 "$pkgdir/usr/share/man/man1" "$pkgdir/usr/share/doc/dasm"
   install -Dm644 doc/dasm.1 "$pkgdir/usr/share/man/man1"
-  install -Dm644 doc/dasm.txt doc/ftohex.txt "$pkgdir/usr/share/doc/dasm"
+  install -Dm644 doc/DASM.TXT doc/FTOHEX.TXT "$pkgdir/usr/share/doc/dasm"

   install -dm755 "$pkgdir/usr/include/dasm/atari2600" "$pkgdir/usr/include/dasm/channel-f"
-  install -Dm644 machines/atari2600/* "$pkgdir/usr/include/dasm/atari2600"
-  install -Dm644 machines/channel-f/* "$pkgdir/usr/include/dasm/channel-f"
+  install -Dm644 Machines/ATARI2600/* "$pkgdir/usr/include/dasm/atari2600"
+  install -Dm644 Machines/CHANNEL-F/* "$pkgdir/usr/include/dasm/channel-f"
 }

FryDay commented on 2019-07-30 12:28

Excellent, thank you! I'll get this applied later today.

ASzc commented on 2019-07-30 01:01

Patch that includes docs and header files in the package: http://ix.io/1Q0R

With this change, headers can be included while using dasm with e.g. -I/usr/include/dasm/atari2600