pkgname=f2fs-tools pkgver=1.10.0 pkgrel=1 pkgdesc="Tools for Flash-Friendly File System (F2FS)" arch=('x86_64') url='http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/about/' depends=('util-linux') license=('GPL') source=("https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/$pkgname-$pkgver.tar.gz") sha256sums=('e841b086dbe02e3553b2c2ecb8c11a7990cfa9ca835c3d7aea6d600c6a543316') build() { cd "${pkgname}-${pkgver}" autoreconf -fi ./configure --prefix=/usr --sbindir=/usr/bin make } package() { cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}/" sbindir=/usr/bin install }