diff options
author | John Lane | 2015-06-09 17:35:31 +0100 |
---|---|---|
committer | John Lane | 2015-06-09 17:35:31 +0100 |
commit | d50c660c21472b7c1c51b71aeefe974e2add6b46 (patch) | |
tree | 6c36240e68fa60d398aeeb97f809e8d979319e2a /PKGBUILD | |
download | aur-d50c660c21472b7c1c51b71aeefe974e2add6b46.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3391cce9ad18 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: John Lane <archlinux at jelmail dot com> + +pkgname=kryoflux +pkgdesc="USB Floppy Controller for Software Preservation" +pkgver=2.20 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://www.kryoflux.com" +license=('custom') +depends=('libusb') +optdepends=('jre7-openjdk: for the Kryoflux GUI') +source=("http://www.kryoflux.com/download/kryoflux_2.20_linux.tar.bz2" + '80-kryoflux.rules' + 'kryoflux.conf') +md5sums=('7f3102ba32041688cf1e5255c0b6fca3' + '43ec7eb49fbdab703cafe146145fe0de' + 'ede10c48b2b1edc5c346e8814f07bcdb') + +package() { + + pkgroot=${pkgdir}/usr + #pkgroot=${pkgdir}/usr/local + + cd "$srcdir" + install -D 80-kryoflux.rules ${pkgdir}/etc/udev/rules.d/80-kryoflux.rules + install -D kryoflux.conf ${pkgdir}/etc/modprobe.d/kryoflux.conf + + cd "$srcdir/kryoflux_${pkgver}_linux" + install -d ${pkgroot}/{bin,lib} + + install dtc/${CARCH}/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 + + # Documents + install -d ${pkgdir}/usr/share/{licenses,doc}/kryoflux + install LICENCE.txt ${pkgdir}/usr/share/licenses/kryoflux/LICENCE + install docs/* ${pkgdir}/usr/share/doc/kryoflux + install dtc/*README* ${pkgdir}/usr/share/doc/kryoflux + cp -a schematics ${pkgdir}/usr/share/doc/kryoflux + +} + +# vim: ft=sh syn=sh et |