Package Details: dasm 2.20.14.1-1

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: 5
Popularity: 0.000000
First Submitted: 2016-12-30 00:31 (UTC)
Last Updated: 2021-12-03 14:23 (UTC)

Latest Comments

felipebalbi commented on 2020-05-15 10:35 (UTC)

Here's a patch to update dasm to 2.20.13. Note that I've also included a change to .gitignore to make sure tarballs and pkg or src directories can't be added to the repository:

From af25c41fe41a48a663c856850175ba5a7690e63c Mon Sep 17 00:00:00 2001
From: Felipe Balbi <felipe@balbi.sh>
Date: Fri, 15 May 2020 13:27:04 +0300
Subject: [PATCH] Bump to 2.20.13

---
 .SRCINFO   |  6 +++---
 .gitignore |  4 ++++
 PKGBUILD   | 11 +++++------
 3 files changed, 12 insertions(+), 9 deletions(-)
 create mode 100644 .gitignore

diff --git a/.SRCINFO b/.SRCINFO
index 9d0724e612f0..e2fa3506d3ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = dasm
    pkgdesc = A versatile macro assembler with support for several 8-bit microprocessors including 6502, 6507, 6803, HD6303, 68HC11, 68705, and F8
-   pkgver = 2.20.11
+   pkgver = 2.20.13
    pkgrel = 4
    url = https://dasm-assembler.github.io/
    arch = x86_64
@@ -9,8 +9,8 @@ pkgbase = dasm
    depends = glibc
    provides = dasm
    provides = ftohex
-   source = https://github.com/dasm-assembler/dasm/archive/2.20.11.tar.gz
-   sha256sums = c69bbe192159dcf75677ca13bba65c3318dc443f2df45fccd3c060b2e092c7f5
+   source = https://github.com/dasm-assembler/dasm/archive/2.20.13.tar.gz
+   sha256sums = 48be84858d578dd7e1ac702fb2dca713a2e0be930137cbb3d6ecbeac1944ff5c

 pkgname = dasm

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..db87da9d619a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg/
+/src/
+*.gz
+*.xz
diff --git a/PKGBUILD b/PKGBUILD
index a853a47ea398..6354530492a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
 # Maintainer: Jordan Day < jordanday444 at gmail dot com >

 pkgname=dasm
-pkgver=2.20.11
+pkgver=2.20.13
 pkgrel=4
 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="https://dasm-assembler.github.io/"
 source=(https://github.com/dasm-assembler/dasm/archive/${pkgver}.tar.gz)
-sha256sums=('c69bbe192159dcf75677ca13bba65c3318dc443f2df45fccd3c060b2e092c7f5')
+sha256sums=('48be84858d578dd7e1ac702fb2dca713a2e0be930137cbb3d6ecbeac1944ff5c')
 license=('GPL2')
 provides=('dasm' 'ftohex')
 depends=('glibc')
@@ -25,10 +25,9 @@ package() {
   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"
 }
-- 
2.26.2

marcinn commented on 2019-10-27 20:14 (UTC)

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 (UTC)

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 (UTC)

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

ASzc commented on 2019-07-30 01:01 (UTC)

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