# Template file for 'btrfs-progs'
pkgname=btrfs-progs
_distver=0.20-rc1.1
version=0.20rc1.1
revision=1
wrksrc="${pkgname}-${_distver}"
makedepends="acl-devel libuuid-devel e2fsprogs-devel"
short_desc="Btrfs filesystem utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://btrfs.wiki.kernel.org/"
distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${_distver}.tar.xz"
checksum=6d13ffd167ee1cc1a8844f7c656db0472730a3bb8fa561e9361957b1ec502f2b

do_build() {
	make CC="$CC" CFLAGS="$CFLAGS" ${makejobs}
}

do_install() {
	make prefix=${DESTDIR}/usr mandir=${DESTDIR}/usr/share/man install
}

btrfs-progs_package() {
	pkg_install() {
		vmove usr
	}
}
