summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Thierer2024-03-01 19:43:48 +0100
committerMartin Thierer2024-03-01 19:43:48 +0100
commitc340f4aacd5246f482cbeeb67e268aba99803673 (patch)
tree5ee1487df9daee4c6f878616112eafc470ae06cc
parent6ae2c37afc29e67d057c9af61d8f40b4d71e082d (diff)
downloadaur-cc1541.tar.gz
Update to 4.2
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
-rw-r--r--asciidoc.patch34
3 files changed, 49 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f3fca7d50c08..30a1f1689c48 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,14 @@
pkgbase = cc1541
pkgdesc = Tool for creating .d64 images with custom sector interleaving etc.
- pkgver = 4.1
+ pkgver = 4.2
pkgrel = 1
url = https://bitbucket.org/PTV_Claus/cc1541/src/master/
arch = x86_64
license = custom
makedepends = asciidoc
- source = https://bitbucket.org/PTV_Claus/cc1541/downloads/cc1541-4.1.zip
- md5sums = 8dac83166d84b21cc241cd4e28af1dfe
+ source = https://bitbucket.org/PTV_Claus/cc1541/downloads/cc1541-4.2.zip
+ source = asciidoc.patch
+ md5sums = f0e43a1150c70d2dec934afa36a9919f
+ md5sums = e4b27bce96d40cfd55c5fe63c8f12cd6
pkgname = cc1541
diff --git a/PKGBUILD b/PKGBUILD
index fe494c7a58eb..9cc06809b469 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,22 @@
# Maintainer: Martin Thierer <thierer@web.de>
pkgname=cc1541
-pkgver=4.1
+pkgver=4.2
pkgrel=1
pkgdesc='Tool for creating .d64 images with custom sector interleaving etc.'
arch=('x86_64')
url='https://bitbucket.org/PTV_Claus/cc1541/src/master/'
license=('custom')
makedepends=('asciidoc')
-source=("https://bitbucket.org/PTV_Claus/cc1541/downloads/cc1541-${pkgver}.zip")
-md5sums=('8dac83166d84b21cc241cd4e28af1dfe')
+source=("https://bitbucket.org/PTV_Claus/cc1541/downloads/cc1541-${pkgver}.zip"
+ "asciidoc.patch")
+
+md5sums=('f0e43a1150c70d2dec934afa36a9919f'
+ 'e4b27bce96d40cfd55c5fe63c8f12cd6')
+
+prepare() {
+ patch -Np1 -d "${pkgname}-${pkgver}" -i "${srcdir}/asciidoc.patch"
+}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/asciidoc.patch b/asciidoc.patch
new file mode 100644
index 000000000000..aae7cfb3dd91
--- /dev/null
+++ b/asciidoc.patch
@@ -0,0 +1,34 @@
+commit 6d53fb4cd3939f0b1ede46cff7ab74e13c87aacf
+Author: Claus <claus@protovision.games>
+Date: Wed Feb 28 21:48:51 2024 +0100
+
+ Fix build buster for man page and update copyright year
+
+diff --git a/cc1541.1.txt.in b/cc1541.1.txt.in
+index 1f7c68c..271d326 100644
+--- a/cc1541.1.txt.in
++++ b/cc1541.1.txt.in
+@@ -12,13 +12,7 @@ Björn Esser
+ == Name
+
+ cc1541 - A tool for creating Commodore floppy disk images in
+-D64 (35 and 40 track), D71 or D81 format, providing a lot of
+-control over the layout of the data on the disk. It also
+-supports writing the file format for the Transwarp loader by
+-Krill.
+-
+-Find a more extensive online documentation here:
+-https://acoustic-velocity.com/cc1541
++D64, D71 or D81 format
+
+ == Synopsis
+
+@@ -216,7 +210,7 @@ https://bitbucket.org/PTV_Claus/cc1541/issues/new
+
+ == License
+
+-Copyright (C) 2008-2021 {author}. +
++Copyright (C) 2008-2024 {author}. +
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the