# $Id: PKGBUILD 9911 2008-08-21 00:29:06Z eric $ # Maintainer: dorphell <dorphell@archlinux.org> # Committer: Judd Vinet <jvinet@zeroflux.org> pkgname=dosfstools pkgver=2.11 pkgrel=2 pkgdesc="DOS filesystem utilities" arch=(i686 x86_64) depends=('glibc') source=(ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/$pkgname/$pkgname-$pkgver.src.tar.gz linux-2.6.patch) md5sums=('407d405ade410f7597d364ab5dc8c9f6' '6689fb7693ed213e6c3289b533b4f66d') url="ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/" build() { cd $startdir/src/$pkgname-$pkgver patch -p1 -i $startdir/src/linux-2.6.patch patch -Np0 -i $startdir/src/dosfstools_$pkgver-1.diff make || return 1 make PREFIX=$startdir/pkg install }