community/partclone to 0.3.22-1

This commit is contained in:
David Beauchamp 2023-01-10 12:46:26 -05:00
parent 563dfd9dc8
commit bbdd586fd7

View file

@ -8,31 +8,38 @@
# - remove fail-mbr from build
pkgname=partclone
pkgver=0.3.20
pkgrel=3
pkgver=0.3.22
pkgrel=1
pkgdesc="Utilities to save and restore used blocks on a partition"
arch=('x86_64')
url="https://partclone.org"
license=('GPL')
depends=('ntfs-3g' 'nilfs-utils')
source=($pkgname-$pkgver.tar.gz::https://github.com/Thomas-Tsai/partclone/archive/$pkgver.tar.gz)
md5sums=('1031222c4550e917a6b2d658e5395566')
sha256sums=('28541e087c1c23aaaaacbe11ae6da40f48d3bd840fc54cba992745ff3a58d5e1')
build() {
cd $pkgname-$pkgver
./autogen
sed -i 's/fail-mbr//' Makefile.in
./configure --prefix=/usr --enable-extfs --enable-fat \
--enable-hfsp --enable-btrfs --enable-ncursesw --enable-ntfs \
--enable-exfat --enable-f2fs --enable-minix --enable-nilfs2 --enable-xfs \
./configure \
--prefix=/usr \
--enable-extfs \
--enable-fat \
--enable-hfsp \
--enable-btrfs \
--enable-ncursesw \
--enable-ntfs \
--enable-exfat \
--enable-f2fs \
--enable-minix \
--enable-nilfs2 \
--enable-xfs \
--sbindir=/usr/bin
make
}
package() {
cd $pkgname-$pkgver
make PREFIX=/usr DESTDIR="$pkgdir" install
}