1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
9 pkgdesc="A collection of utilities to access MS-DOS disks"
11 url="https://www.gnu.org/software/mtools/"
14 makedepends=(libx11 texinfo)
16 'libx11: required by floppyd'
17 'libxau: required by floppyd'
19 backup=(etc/$pkgname.conf)
21 source=(https://ftp.gnu.org/gnu/mtools/$pkgname-$pkgver.tar.bz2{,.sig})
22 sha512sums=('c3acf8723ae207d9eccdca3c2b55aed262175328417031397c14c7120a1e02f0c52c7fefc0145dfb09fb91f1d3e63254e7a45bc7edf50b1ecc87b7cc95d2f390'
24 b2sums=('6ae2dbd2129d48528f6a36f81f44979b2dd977729e3f3f0ab5ff4aa8d29b0841cd770e2ed12f0f772676f6bcfeb3949d4fb79e240cf1d88524bbaa6cdfb4d26e'
26 validpgpkeys=('51A23D9D7C4DF41AA48FA893E99CF5537790B839') # Alain KNAFF <alain@knaff.lu>
29 # comment entry in default config
30 sed -e '/^SAMPLE FILE$/s:^:# :' -i $pkgname-$pkgver/mtools.conf
37 --mandir=/usr/share/man \
38 --infodir=/usr/share/info \
44 make -k check -C $pkgname-$pkgver
48 make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
49 install -vDm 644 $pkgname-$pkgver/mtools.conf -t "$pkgdir/etc/"
50 install -vDm 644 $pkgname-$pkgver/{README,NEWS} -t "$pkgdir/usr/share/doc/$pkgname"