2024-07-17 05:51:55 +00:00

77 lines
1.8 KiB
Plaintext

# Contributor: Sean McAvoy <seanmcavoy@gmail.com>
# Maintainer: Sean McAvoy <seanmcavoy@gmail.com>
pkgname=partclone
pkgver=0.3.32
pkgrel=0
pkgdesc="utilities to save and restore used blocks on a partition"
url="https://partclone.org"
arch="all"
license="GPL-2.0-only"
makedepends="
autoconf
automake
bash
btrfs-progs-dev
diffutils
docbook-xml
e2fsprogs-dev
f2fs-tools-dev
gettext-dev
hfsprogs
intltool
libtool
libxslt-dev
ncurses-dev
ntfs-3g-dev
openssl-dev
"
subpackages="
$pkgname-doc
$pkgname-lang
$pkgname-bash-completion
"
source="https://github.com/Thomas-Tsai/partclone/archive/$pkgver/partclone-$pkgver.tar.gz
musl.patch
remove-usage-of-off64_t.patch
very-funny-glibc-types.patch
"
prepare() {
default_prepare
autoreconf -fvi
}
build() {
# xfs seems broken right now :(
LIBS="-lintl" ./configure \
--prefix=/usr \
--disable-rpath \
--enable-ncursesw \
--enable-fat \
--enable-extfs \
--enable-exfat \
--enable-ntfs \
--enable-btrfs \
--enable-minix \
--enable-f2fs \
--enable-hfsp \
--enable-xfs \
bashcompletiondir=/usr/share/bash-completion/completions
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
ff454ab910343606f4691f0de1744507dc8d48e2e431ba1d6b4b1ca8152aafddf230a5c3273c2f853779868365e534b74ecc201bfc7e258037d56d47b2afbf8b partclone-0.3.32.tar.gz
67505eda6028a772700ab776faa4f3156deec205525aa83b76b43917d4b2bf7704d6c15e44da96f19e23b856669285ff94f5bc71c9bbac75b30b0831ebc95576 musl.patch
3c48851e3848f33bc257859febb54569dc00006af9877b706da5adca5680d61ee6291b62511ee1d50fb07d82cc04bffa5074ef5825071407570b952ff06684ef remove-usage-of-off64_t.patch
16877cba85c0f2505940b88bf60b146b5412e624ab48733a5c9b1094f0a3ce031f8d3b5fd9aecd82fba6787f6939ae48fb713181d54db92990ff7b83e3b961c9 very-funny-glibc-types.patch
"