# Contributor: Sean McAvoy # Maintainer: Sean McAvoy pkgname=partclone pkgver=0.3.25 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" 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 make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" 44d630e62319a3bc7bbc377c091e1f47397855a7a6a5e511810a5de3f128a50145bc6263d24295893905085553b8f6aa585a45041c4bd20d2632a13fb2d74afd partclone-0.3.25.tar.gz 67505eda6028a772700ab776faa4f3156deec205525aa83b76b43917d4b2bf7704d6c15e44da96f19e23b856669285ff94f5bc71c9bbac75b30b0831ebc95576 musl.patch 3c48851e3848f33bc257859febb54569dc00006af9877b706da5adca5680d61ee6291b62511ee1d50fb07d82cc04bffa5074ef5825071407570b952ff06684ef remove-usage-of-off64_t.patch 16877cba85c0f2505940b88bf60b146b5412e624ab48733a5c9b1094f0a3ce031f8d3b5fd9aecd82fba6787f6939ae48fb713181d54db92990ff7b83e3b961c9 very-funny-glibc-types.patch "