summaryrefslogtreecommitdiff
path: root/community/partclone/PKGBUILD
blob: 71d0920f85b5f3a686671a528f660b3ad9c8f6b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 104331 2014-01-17 20:10:14Z jsteel $
# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org>
# Contrinutor: Dan Serban
# Contributor: Franz Burgmann
# Contributor: Todd Partridge (Gen2ly)
# Contributor: Ivan Sichmann Freitas

pkgname=partclone
pkgver=0.2.69
pkgrel=1
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=(https://downloads.sourceforge.net/project/$pkgname/stable/$pkgver/${pkgname}_$pkgver.orig.tar.gz)
md5sums=('2cc3b4e49819da32adcf63ef9246dca0')

build() {
  cd "$srcdir"/$pkgname-$pkgver

  ./configure --prefix=/usr --enable-extfs --enable-reiserfs --enable-fat \
    --enable-hfsp --enable-btrfs --enable-ncursesw --enable-ntfs --sbindir=/usr/bin

  make
}

package() {
  cd "$srcdir"/$pkgname-$pkgver

  make PREFIX=/usr DESTDIR="$pkgdir"/ install
}