2013-05-28 00:43:07 +00:00
|
|
|
# $Id: PKGBUILD 90410 2013-05-12 09:03:51Z jsteel $
|
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
|
2014-06-14 17:19:50 +00:00
|
|
|
pkgver=0.2.70
|
2015-04-18 07:23:13 +00:00
|
|
|
pkgrel=2
|
2013-05-28 00:43:07 +00:00
|
|
|
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')
|
2015-04-18 07:23:13 +00:00
|
|
|
source=(http://free.nchc.org.tw/drbl-core/src/stable/$pkgname-$pkgver.tar.gz)
|
2014-06-14 17:19:50 +00:00
|
|
|
md5sums=('92708a46e13f96544539f0073a162a67')
|
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
|
|
|
|
|
|
|
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() {
|
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
|
|
|
}
|