fixes
This commit is contained in:
1 parent
4e0462d190
commit
ddc0217fc8
11 files changed
+56
-122
No files matched your search
@@ -7,19 +7,10 @@ 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/v6.3.tar.gz"
|
||||
'initcpio-install-btrfs'
|
||||
'initcpio-hook-btrfs'
|
||||
'btrfs-scrub@.service'
|
||||
'btrfs-scrub@.timer'
|
||||
)
|
||||
depends=( e2fsprogs zlib libgcrypt libzstd)
|
||||
source=("https://github.com/kdave/btrfs-progs/archive/refs/tags/v6.3.tar.gz")
|
||||
depends=(e2fsprogs zlib libgcrypt)
|
||||
makedepends=()
|
||||
md5sums=('4806f9346f55cfbea44f9e423541e17c'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
md5sums=('4806f9346f55cfbea44f9e423541e17c')
|
||||
group=(sys.fs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
@@ -28,25 +19,13 @@ install=btrfs-progs.install
|
||||
options=(!staticlibs)
|
||||
|
||||
cd $name-$version
|
||||
prepare() {
|
||||
# apply patch from the source array (should be a pacman feature)
|
||||
local src
|
||||
for src in "${source[@]}"; do
|
||||
src="${src%%::*}"
|
||||
src="${src##*/}"
|
||||
[[ $src = *.patch ]] || continue
|
||||
echo "Applying patch $src..."
|
||||
patch -Np1 < "../$src"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
setup(){
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/ --with-crypto=libgcrypt \
|
||||
--disable-zstd \
|
||||
--disable-py3-sphinx
|
||||
--libdir=/usr/lib64/ --with-crypto=libgcrypt \
|
||||
--disable-zstd \
|
||||
--disable-documentation
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -54,19 +33,8 @@ build(){
|
||||
}
|
||||
|
||||
package(){
|
||||
make DESTDIR="$DESTDIR" install install_python
|
||||
|
||||
make DESTDIR="$DESTDIR" install install_python
|
||||
# install bash completion (FS#44618)
|
||||
install -Dm644 btrfs-completion "$DESTDIR/usr/share/bash-completion/completions/btrfs"
|
||||
|
||||
# install mkinitcpio hooks
|
||||
# cd "$srcdir"
|
||||
install -Dm644 ../initcpio-hook-btrfs "$DESTDIR/usr/lib/initcpio/hooks/btrfs"
|
||||
install -Dm644 ../initcpio-install-btrfs "$DESTDIR/usr/lib/initcpio/install/btrfs"
|
||||
|
||||
# install scrub service/timer
|
||||
install -Dm644 ../btrfs-scrub@.service "$DESTDIR/usr/lib/systemd/system/btrfs-scrub@.service"
|
||||
install -Dm644 ../btrfs-scrub@.timer "$DESTDIR/usr/lib/systemd/system/btrfs-scrub@.timer"
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user