[arch-commits] Commit in f2fs-tools/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Christian Hesse
eworm at gemini.archlinux.org
Fri Sep 3 20:05:18 UTC 2021
Date: Friday, September 3, 2021 @ 20:05:18
Author: eworm
Revision: 423397
archrelease: copy trunk to testing-x86_64
Added:
f2fs-tools/repos/testing-x86_64/
f2fs-tools/repos/testing-x86_64/PKGBUILD
(from rev 423396, f2fs-tools/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: f2fs-tools/repos/testing-x86_64/PKGBUILD (from rev 423396, f2fs-tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-09-03 20:05:18 UTC (rev 423397)
@@ -0,0 +1,44 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Christian Hesse <mail at eworm.de>
+
+pkgname=f2fs-tools
+_tag='d41dcbdf46dc3841cd0a0507e6573e38cb6c55bb' # git rev-parse v${pkgver}
+pkgver=1.14.0
+pkgrel=3
+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/'
+provides=('libf2fs.so' 'bf2fs_format.so')
+depends=('util-linux')
+makedepends=('git')
+license=('GPL')
+validpgpkeys=('D3452A79D8C2B4EAC656F4224014A87E824850D2') # Jaegeuk Kim <jaegeuk at kernel.org>
+source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git#tag=${_tag}")
+sha256sums=('SKIP')
+
+prepare() {
+ cd "${pkgname}"
+
+ # resize.f2fs: fix wrong ovp calculation
+ git cherry-pick -n f056fbeff08d30a6d9acdb9e06704461ceee3500
+
+ autoreconf -fi
+}
+
+build() {
+ cd "${pkgname}"
+
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "${pkgname}"
+
+ make DESTDIR="${pkgdir}/" sbindir=/usr/bin install
+
+ # /usr/bin/sg_write_buffer is provided in sg3_utils
+ rm "${pkgdir}"/usr/bin/sg_write_buffer
+}
More information about the arch-commits
mailing list