Date: Saturday, May 16, 2020 @ 11:48:40
  Author: foutrelis
Revision: 384356

archrelease: copy trunk to staging-x86_64

Added:
  f2fs-tools/repos/staging-x86_64/
  f2fs-tools/repos/staging-x86_64/PKGBUILD
    (from rev 384355, f2fs-tools/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: f2fs-tools/repos/staging-x86_64/PKGBUILD (from rev 384355, 
f2fs-tools/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2020-05-16 11:48:40 UTC (rev 384356)
@@ -0,0 +1,39 @@
+# Maintainer: Tobias Powalowski <[email protected]>
+# Contributor: Christian Hesse <[email protected]>
+
+pkgname=f2fs-tools
+pkgver=1.13.0
+pkgrel=2
+pkgdesc='Tools for Flash-Friendly File System (F2FS)'
+arch=('x86_64')
+url='https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/about/'
+depends=('util-linux')
+makedepends=('git')
+license=('GPL')
+validpgpkeys=('D3452A79D8C2B4EAC656F4224014A87E824850D2') # Jaegeuk Kim 
<[email protected]>
+source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git#tag=v${pkgver}?signed";)
+sha256sums=('SKIP')
+
+prepare() {
+       cd "${pkgname}"
+
+       # /usr/bin/sg_write_buffer is provided in sg3_utils
+       sed -i '/sg_write_buffer/d' tools/Makefile.am
+
+       autoreconf -fi
+}
+
+build() {
+       cd "${pkgname}"
+
+       ./configure \
+               --prefix=/usr \
+               --sbindir=/usr/bin
+       make
+}
+
+package() {
+       cd "${pkgname}"
+
+       make DESTDIR="${pkgdir}/" sbindir=/usr/bin install
+}

Reply via email to