# Maintainer: Felix Yan # Contributor: goetzc # Contributor: Jonathan Squirawski pkgname=libeatmydata pkgver=130 pkgrel=1 pkgdesc='Library and utilities designed to disable fsync and friends.' arch=('x86_64') url='https://github.com/stewartsmith/libeatmydata' license=('GPL3') depends=('bash') source=("https://github.com/stewartsmith/libeatmydata/archive/v$pkgver/$pkgname-$pkgver.tar.gz") sha256sums=('1b4d53c84381acc7f39f61764d97f63e3f56e4ab6a67480bba9180c2059e210d') prepare() { cd libeatmydata-$pkgver autoreconf -i } build() { cd libeatmydata-$pkgver ./configure --prefix=/usr --libexecdir=/usr/lib/libeatmydata make } check() { cd libeatmydata-$pkgver make check || echo "Tests need strace permission to run" } package() { cd libeatmydata-$pkgver make DESTDIR="$pkgdir" install }