# Maintainer: Natanael Copa pkgname=dosfstools pkgver=3.0.25 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 dosfstools-loff_and_BLOCK_SIZE.patch " _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="6d000d9f68b7766dfe12c88c4aaaa293 dosfstools-3.0.25.tar.xz 66da181b7245895aac09f51902dcedcb dosfstools-loff_and_BLOCK_SIZE.patch" sha256sums="1d4912860e88fa829314c7824821b502a66460afc5f4bb963dd149e9ee430320 dosfstools-3.0.25.tar.xz f9d313d3204c5b2b2a9a9ccb2906cd29aa17f66daa710c8f3358adc6e081479d dosfstools-loff_and_BLOCK_SIZE.patch" sha512sums="9ff954fb7bb99d430a132add517afaba75a34e9d54d1afff1aa63e2c9ded16b50d89aa3da3bb8b24a03b2a53fc10c800b66bf121ada5e1e047a99478efde3014 dosfstools-3.0.25.tar.xz 7d36320e31502fb977f8f589b0b35a7c4b9358e08bd77852f516a0421a60ebce9190134d22f0d857146de701b1c5655e62b8ae643f87d9e8a09cc41b1fdf742c dosfstools-loff_and_BLOCK_SIZE.patch"