core/f2fs-tools/PKGBUILD

28 lines
719 B
Bash
Raw Normal View History

2017-02-21 06:23:12 +08:00
pkgname=f2fs-tools
2018-08-26 21:31:46 +08:00
pkgver=1.11.0
2017-02-21 06:23:12 +08:00
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")
2018-08-26 21:31:46 +08:00
sha256sums=('b916ac7cda902502cf18de98da94921f71edbab40fb0437d757f0716191c79e3')
2017-02-21 06:23:12 +08:00
build() {
cd "${pkgname}-${pkgver}"
2018-08-26 21:31:46 +08:00
# sg_write_buffer is provided in sg3_utils
sed -i '/sg_write_buffer/d' tools/Makefile.am
2017-02-21 06:23:12 +08:00
autoreconf -fi
./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" sbindir=/usr/bin install
}