mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
# Maintainer: Jonathan Steel <jsteel at archlinux.org>
|
|
# 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
|
|
pkgver=0.3.26
|
|
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)
|
|
sha256sums=('81a8168520d1e5b77f0d438411472f68b2482ce7ddde79dfa1735a3882994ad9')
|
|
|
|
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 \
|
|
--sbindir=/usr/bin
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make PREFIX=/usr DESTDIR="$pkgdir" install
|
|
}
|