Date: Wednesday, July 11, 2018 @ 09:08:06
  Author: eworm
Revision: 328242

upgpkg: f2fs-tools 1.11.0-2

drop sg_write_buffer, which is provided by sg3_utils (FS#59296)

Modified:
  f2fs-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-07-11 01:41:34 UTC (rev 328241)
+++ PKGBUILD    2018-07-11 09:08:06 UTC (rev 328242)
@@ -4,7 +4,7 @@
 
 pkgname=f2fs-tools
 pkgver=1.11.0
-pkgrel=1
+pkgrel=2
 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/'
@@ -13,11 +13,21 @@
 
source=("https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/$pkgname-$pkgver.tar.gz";)
 sha256sums=('b916ac7cda902502cf18de98da94921f71edbab40fb0437d757f0716191c79e3')
 
+prepare() {
+       cd "${pkgname}-${pkgver}"
+
+       # sg_write_buffer is provided in sg3_utils
+       sed -i '/sg_write_buffer/d' tools/Makefile.am
+       
+       autoreconf -fi
+}
+
 build() {
        cd "${pkgname}-${pkgver}"
 
-       autoreconf -fi
-       ./configure --prefix=/usr --sbindir=/usr/bin
+       ./configure \
+               --prefix=/usr \
+               --sbindir=/usr/bin
        make
 }
 

Reply via email to