# Maintainer: Natanael Copa pkgname=dosfstools pkgver=3.0.24 pkgrel=0 pkgdesc="DOS filesystem utilities" url="http://www.daniel-baumann.ch/software/dosfstools/" arch="all" license="GPL3+" depends="" makedepends="libiconv-dev" subpackages="$pkgname-doc" source="http://daniel-baumann.ch/files/software/dosfstools/dosfstools-$pkgver.tar.xz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" make OPTFLAGS="$CFLAGS" LDFLAGS="-liconv $LDFLAGS" || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" \ PREFIX=/usr \ MANDIR=/usr/share/man \ DOCDIR=/usr/share/doc \ install || return 1 } md5sums="41931f36ebee6e79e9dafe85cc916f2b dosfstools-3.0.24.tar.xz" sha256sums="1e21b7e7c8872fb3debf2a7fdc8c223a5f592a6efa8ae181a92f558ed28274c1 dosfstools-3.0.24.tar.xz" sha512sums="9e75e3868f42d4cb404998e8a0cd7d3bc7fe4fc0cf68559644c960fe73e7f0eb67c26ff169085c9e1858e5402efed813b883a5f3682aea29e4d0fc9c9142a006 dosfstools-3.0.24.tar.xz"