[arch-commits] Commit in btrfs-progs/trunk (PKGBUILD)
Sébastien Luttringer
seblu at archlinux.org
Tue Apr 17 23:07:34 UTC 2018
Date: Tuesday, April 17, 2018 @ 23:07:33
Author: seblu
Revision: 322116
upgpkg: btrfs-progs 4.16-2
- fix FS#58237
Modified:
btrfs-progs/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-17 23:07:25 UTC (rev 322115)
+++ PKGBUILD 2018-04-17 23:07:33 UTC (rev 322116)
@@ -5,7 +5,7 @@
pkgname=btrfs-progs
pkgver=4.16
-pkgrel=1
+pkgrel=2
pkgdesc='Btrfs filesystem utilities'
arch=('x86_64')
depends=('glibc' 'libutil-linux' 'e2fsprogs' 'lzo' 'zlib' 'zstd' 'python')
@@ -20,7 +20,8 @@
'initcpio-install-btrfs'
'initcpio-hook-btrfs'
'btrfs-scrub at .service'
- 'btrfs-scrub at .timer')
+ 'btrfs-scrub at .timer'
+ 'FS#58237.patch')
install=btrfs-progs.install
options=(!staticlibs)
md5sums=('SKIP'
@@ -28,8 +29,22 @@
'7241ba3a4286d08da0d50b7176941112'
'b09688a915a0ec8f40e2f5aacbabc9ad'
'917b31f4eb90448d6791e17ea0f386c7'
- '502221c1b47a3bb2c06703d4fb90a0c2')
+ '502221c1b47a3bb2c06703d4fb90a0c2'
+ '340766c706bd3de66c1cbe70fe7e2934')
+prepare() {
+ cd $pkgname-v$pkgver
+ # apply patch from the source array (should be a pacman feature)
+ local filename
+ for filename in "${source[@]}"; do
+ if [[ "$filename" =~ \.patch$ ]]; then
+ msg2 "Applying patch ${filename##*/}"
+ patch -p1 -N -i "$srcdir/${filename##*/}"
+ fi
+ done
+ :
+}
+
build() {
cd $pkgname-v$pkgver
./configure --prefix=/usr
More information about the arch-commits
mailing list