2015-04-18 07:23:13 +00:00
|
|
|
# Maintainer: Jonathan Steel <jsteel at archlinux.org>
|
2013-05-28 00:43:07 +00:00
|
|
|
# Contrinutor: Dan Serban
|
|
|
|
# Contributor: Franz Burgmann
|
|
|
|
# Contributor: Todd Partridge (Gen2ly)
|
|
|
|
# Contributor: Ivan Sichmann Freitas
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - remove fail-mbr from build
|
|
|
|
|
|
|
|
pkgname=partclone
|
2016-07-06 12:39:33 +00:00
|
|
|
pkgver=0.2.89
|
2018-10-04 00:42:51 +00:00
|
|
|
pkgrel=3
|
2013-05-28 00:43:07 +00:00
|
|
|
pkgdesc="Utilities to save and restore used blocks on a partition"
|
2018-10-04 00:42:51 +00:00
|
|
|
arch=('x86_64')
|
|
|
|
url="https://partclone.org"
|
2013-05-28 00:43:07 +00:00
|
|
|
license=('GPL')
|
2016-03-15 18:19:25 +00:00
|
|
|
depends=('progsreiserfs' 'ntfs-3g' 'nilfs-utils')
|
2018-10-04 00:42:51 +00:00
|
|
|
source=(https://partclone.nchc.org.tw/download/stable/$pkgver/${pkgname}_$pkgver.orig.tar.gz)
|
2016-07-06 12:39:33 +00:00
|
|
|
md5sums=('1b6602fa623afc37a8c5252335d1bb01')
|
2013-05-28 00:43:07 +00:00
|
|
|
|
|
|
|
build() {
|
2015-04-18 07:23:13 +00:00
|
|
|
cd $pkgname-$pkgver
|
2013-05-28 00:43:07 +00:00
|
|
|
|
2018-10-04 00:42:51 +00:00
|
|
|
# enable xfs again when it's updated to not use the deprecated ustat interface
|
2013-05-28 00:43:07 +00:00
|
|
|
sed -i 's/fail-mbr//' Makefile.in
|
|
|
|
./configure --prefix=/usr --enable-extfs --enable-reiserfs --enable-fat \
|
2016-03-15 18:19:25 +00:00
|
|
|
--enable-hfsp --enable-btrfs --enable-ncursesw --enable-ntfs \
|
2018-10-04 00:42:51 +00:00
|
|
|
--enable-exfat --enable-f2fs --enable-minix --enable-nilfs2 \
|
2016-03-15 18:19:25 +00:00
|
|
|
--sbindir=/usr/bin
|
2013-05-28 00:43:07 +00:00
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-04-18 07:23:13 +00:00
|
|
|
cd $pkgname-$pkgver
|
2013-05-28 00:43:07 +00:00
|
|
|
|
2015-04-18 07:23:13 +00:00
|
|
|
make PREFIX=/usr DESTDIR="$pkgdir" install
|
2013-05-28 00:43:07 +00:00
|
|
|
}
|