Name dosfstools
Description DOS filesystem utilities
Version 4.2-5
Package Base dosfstools
Homepage https://github.com/dosfstools/dosfstools
Maintainers ['Jelle van der Waa <jelle@archlinux.org>', 'Tobias Powalowski <tpowa@archlinux.org> ']
Contributors []
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/dosfstools
Sources ['dosfstools-reproducible-mkfs.patch::https://github.com/dosfstools/dosfstools/commit/8da7bc93315cb0c32ad868f17808468b81fa76ec.patch', 'https://github.com/dosfstools/dosfstools/releases/download/v4.2/dosfstools-4.2.tar.gz', 'https://github.com/dosfstools/dosfstools/releases/download/v4.2/dosfstools-4.2.tar.gz.sig']
Dependencies ['glibc']
Optional-Dependencies []
Build-Dependencies []
Provides []
Builddate 24-08-2024 20:52:04
Architecture x86_64
Distro-Version
Licenses ['GPL-3.0-or-later']
Hash 03a7d8bd939a80418d9744afad00c22b91c4b411bdf9662744647c383a0ec503
# Maintainer: Tobias Powalowski <tpowa@archlinux.org> 
# Committer: Judd Vinet <jvinet@zeroflux.org>

pkgname=dosfstools
pkgver=4.2
pkgrel=5
pkgdesc="DOS filesystem utilities"
arch=(x86_64)
depends=('glibc')
source=(https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz{,.sig}
	$pkgname-reproducible-mkfs.patch::https://github.com/dosfstools/dosfstools/commit/8da7bc93315cb0c32ad868f17808468b81fa76ec.patch
)
url="https://github.com/dosfstools/dosfstools"
license=('GPL-3.0-or-later')
validpgpkeys=('25714AECDBFDACEE1CE95FE77F6022516E869F64') # Andreas Bombe
sha256sums=('64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527'
            'SKIP'
            'b9953dde3d755a6e9a31a28e2a7aebccd0b5ed9bcc664893bd55290945589b5b')


prepare() {
  cd $pkgname-$pkgver
  patch -Np1 -i ${srcdir}/$pkgname-reproducible-mkfs.patch
}

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --libexecdir=/usr/lib \
              --sbindir=/usr/bin --mandir=/usr/share/man \
              --docdir=/usr/share/doc/dosfstools --enable-compat-symlinks
   make
}

package () {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
}