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)
15 optdepends=('libx11: required by floppyd'
16 'libxau: required by floppyd')
17 backup=("etc/${pkgname}.conf")
18 source=("https://ftp.gnu.org/gnu/mtools/${pkgname}-${pkgver}.tar.bz2"{,.sig})
19 sha512sums=('2425ee0e39c06ea201a5303ab09a0aa9f0c59341522e2c15abc4f079320fd3d67d28afeb2870ee508d472bba6904c542e11c02b92652c8eda1bf338bab372d07'
21 b2sums=('753ee3e412452572b36d15805982255f28bc277764ce66a0fe8483e19a3488fbb282b873a6be85e87e82a71bf7fda517e1234e1911f0b7c3f3992e25f8d18322'
23 validpgpkeys=('51A23D9D7C4DF41AA48FA893E99CF5537790B839') # Alain KNAFF <alain@knaff.lu>
26 cd "${pkgname}-${pkgver}"
27 # comment entry in default config
28 sed -e '/^SAMPLE FILE$/s:^:# :' -i mtools.conf
32 cd "${pkgname}-${pkgver}"
33 ./configure --prefix=/usr \
34 --mandir=/usr/share/man \
35 --infodir=/usr/share/info \
41 cd "${pkgname}-${pkgver}"
42 make DESTDIR="${pkgdir}" install
43 install -vDm 644 mtools.conf -t "${pkgdir}/etc/"
44 install -vDm 644 {README,NEWS} -t "${pkgdir}/usr/share/doc/${pkgname}"