PKGBUILDs/community/partclone/PKGBUILD

47 lines
1.1 KiB
Bash
Raw Normal View History

2015-04-18 07:23:13 +00:00
# Maintainer: Jonathan Steel <jsteel at archlinux.org>
2023-02-02 00:33:46 +00:00
# Maintainer: T.J. Townsend <blakkheim@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
2023-02-02 00:33:46 +00:00
pkgver=0.3.23
2023-01-10 17:46:26 +00:00
pkgrel=1
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')
2022-03-31 13:19:56 +00:00
depends=('ntfs-3g' 'nilfs-utils')
2021-09-28 12:42:20 +00:00
source=($pkgname-$pkgver.tar.gz::https://github.com/Thomas-Tsai/partclone/archive/$pkgver.tar.gz)
2023-02-02 00:33:46 +00:00
sha256sums=('55f0d9dc6c66fae05ad5f134f46662d7a2737e25f871943f699d50808482678d')
2013-05-28 00:43:07 +00:00
build() {
2015-04-18 07:23:13 +00:00
cd $pkgname-$pkgver
2019-11-16 14:53:15 +00:00
./autogen
2013-05-28 00:43:07 +00:00
sed -i 's/fail-mbr//' Makefile.in
2023-01-10 17:46:26 +00:00
./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 \
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
make PREFIX=/usr DESTDIR="$pkgdir" install
2013-05-28 00:43:07 +00:00
}