PKGBUILDs/community/partclone/PKGBUILD
2015-09-17 18:54:44 -04:00

37 lines
993 B
Bash

# $Id: PKGBUILD 90410 2013-05-12 09:03:51Z jsteel $
# 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.2.80
pkgrel=2
pkgdesc="Utilities to save and restore used blocks on a partition"
arch=('i686' 'x86_64')
url="http://partclone.org"
license=('GPL')
depends=('progsreiserfs' 'ntfs-3g')
source=(http://partclone.nchc.org.tw/download/stable/$pkgver/${pkgname}_$pkgver.orig.tar.gz)
md5sums=('82e83d8350714d0834bde59a4a168f8c')
build() {
cd $pkgname-$pkgver
sed -i 's/fail-mbr//' Makefile.in
./configure --prefix=/usr --enable-extfs --enable-reiserfs --enable-fat \
--enable-hfsp --enable-btrfs --enable-ncursesw --enable-ntfs --sbindir=/usr/bin
make
}
package() {
cd $pkgname-$pkgver
make PREFIX=/usr DESTDIR="$pkgdir" install
}