Files
binary-repo/sys/fs/btrfs-progs/ympbuild
T
2024-02-10 19:36:24 +03:00

41 lines
928 B
Bash

#!/usr/bin/env bash
name='btrfs-progs'
release='4'
version='6.7'
url='https://github.com/storaged-project/libblockdev'
description='A library for manipulating block devices'
email='bayramk@gmail.com'
maintainer='bk'
license=('GPLv3')
source=("https://github.com/kdave/btrfs-progs/archive/refs/tags/v${version}.tar.gz")
depends=(e2fsprogs zlib libgcrypt eudev)
makedepends=()
md5sums=('802ee242127bd30db22df7d299f5822d')
group=(sys.fs)
uses=()
arch=('x86_64')
install=btrfs-progs.install
options=(!staticlibs)
cd $name-$version
setup(){
./autogen.sh
./configure --prefix=/usr \
--libdir=/usr/lib64/ --with-crypto=libgcrypt \
--disable-zstd \
--disable-documentation
}
build(){
make $jobs
}
package(){
make DESTDIR="$DESTDIR" install install_python
# install bash completion (FS#44618)
install -Dm644 btrfs-completion "$DESTDIR/usr/share/bash-completion/completions/btrfs"
}