summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Lane2017-01-11 16:23:28 +0000
committerJohn Lane2017-01-11 17:30:57 +0000
commit45d8384bfb43a5db8feda5a2eaa27b18de3da216 (patch)
tree90b4ab8bd2e15ea2cf2db2669b3da5cb3c48ba0c
parentd50c660c21472b7c1c51b71aeefe974e2add6b46 (diff)
downloadaur-45d8384bfb43a5db8feda5a2eaa27b18de3da216.tar.gz
Update to Kryoflux v2.6
Patch from https://aur.archlinux.org/account/claunia
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD15
2 files changed, 12 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 338297be6a59..f4401a3946fe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kryoflux
pkgdesc = USB Floppy Controller for Software Preservation
- pkgver = 2.20
+ pkgver = 2.6
pkgrel = 1
url = http://www.kryoflux.com
arch = i686
@@ -8,10 +8,11 @@ pkgbase = kryoflux
license = custom
depends = libusb
optdepends = jre7-openjdk: for the Kryoflux GUI
- source = http://www.kryoflux.com/download/kryoflux_2.20_linux.tar.bz2
+ provides = capsimage
+ source = http://www.kryoflux.com/download/kryoflux_2.6_linux.tar.bz2
source = 80-kryoflux.rules
source = kryoflux.conf
- md5sums = 7f3102ba32041688cf1e5255c0b6fca3
+ md5sums = 12d57dcc9657a90c583dded553b8a2e1
md5sums = 43ec7eb49fbdab703cafe146145fe0de
md5sums = ede10c48b2b1edc5c346e8814f07bcdb
diff --git a/PKGBUILD b/PKGBUILD
index 3391cce9ad18..a8a15a3abea0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,19 @@
pkgname=kryoflux
pkgdesc="USB Floppy Controller for Software Preservation"
-pkgver=2.20
+pkgver=2.6
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kryoflux.com"
license=('custom')
+provides=('capsimage')
+onflicts=('capsimage')
depends=('libusb')
optdepends=('jre7-openjdk: for the Kryoflux GUI')
-source=("http://www.kryoflux.com/download/kryoflux_2.20_linux.tar.bz2"
+source=("http://www.kryoflux.com/download/kryoflux_${pkgver}_linux.tar.bz2"
'80-kryoflux.rules'
'kryoflux.conf')
-md5sums=('7f3102ba32041688cf1e5255c0b6fca3'
+md5sums=('12d57dcc9657a90c583dded553b8a2e1'
'43ec7eb49fbdab703cafe146145fe0de'
'ede10c48b2b1edc5c346e8814f07bcdb')
@@ -28,13 +30,12 @@ package() {
cd "$srcdir/kryoflux_${pkgver}_linux"
install -d ${pkgroot}/{bin,lib}
- install dtc/${CARCH}/dtc dtc/kryoflux-ui.jar ${pkgroot}/bin
+ install dtc/${CARCH}/static/dtc dtc/kryoflux-ui.jar ${pkgroot}/bin
cp -P dtc/${CARCH}/lib* ${pkgroot}/lib
# Firmwares: choose one or the other
- # Note that dtc is hard-coded to expect the firmware to be in /usr/local/share
- install -D dtc/firmware.bin ${pkgdir}/usr/local/share/dtc/firmware.bin
-# install -D dtc/firmware_fast/firmware.bin ${pkgdir}/usr/local/share/dtc/firmware.bin
+ install -D dtc/firmware_kf_usb_rosalie.bin ${pkgdir}/usr/lib/firmware/firmware_kf_usb_rosalie.bin
+ install -D dtc/firmware_fast/firmware_kf_usb_rosalie.bin ${pkgdir}/usr/lib/firmware/firmware_kf_usb_rosalie.bin
# Documents
install -d ${pkgdir}/usr/share/{licenses,doc}/kryoflux