btrfs-progs 6.11-1

This commit is contained in:
xhaa123 2024-10-16 02:49:17 +08:00
parent c5220c5e72
commit f83302a4ba

View File

@ -1,36 +1,38 @@
# Maintainer: Future Linux Team <futurelinux@163.com>
pkgname=btrfs-progs
pkgver=6.8
pkgver=6.11
pkgrel=1
pkgdesc="Btrfs filesystem utilities"
arch=('x86_64')
url="https://btrfs.readthedocs.io"
license=('GPL-2.0-only')
depends=('glibc' 'util-linux' 'lzo' 'zlib' 'zstd' 'systemd' 'e2fsprogs' 'libgcrypt')
makedepends=('python-setuptools')
makedepends=('e2fsprogs' 'python' 'python-setuptools')
options=('!staticlibs')
source=(https://www.kernel.org/pub/linux/kernel/people/kdave/${pkgname}/${pkgname}-v${pkgver}.tar.xz)
sha256sums=(9c21645feac182611e28b47769d5f613cb9e2ecab58ece60b10e6c55a9ead575)
sha256sums=(ff9ae91521303a90d87e1c4be230f0121f39c44ddbe52c2aeae263c6fecfa099)
build() {
cd ${pkgname}-v${pkgver}
cd ${pkgname}-v${pkgver}
${CONFIGURE} \
--with-crypto=libgcrypt \
--disable-static \
--disable-documentation
${CONFIGURE} \
--with-crypto=libgcrypt \
--disable-static \
--disable-documentation
make
make
}
package() {
cd ${pkgname}-v${pkgver}
cd ${pkgname}-v${pkgver}
make DESTDIR=${pkgdir} install
make DESTDIR=${pkgdir} install install_python
install -vdm755 ${pkgdir}/usr/share/man/man{5,8}
for i in 5 8; do
install Documentation/*.${i} ${pkgdir}/usr/share/man/man${i}
done
install -Dm644 btrfs-completion ${pkgdir}/usr/share/bash-completion/completions/btrfs
install -vdm755 ${pkgdir}/usr/share/man/man{5,8}
for i in 5 8; do
install Documentation/*.${i} ${pkgdir}/usr/share/man/man${i}
done
}