summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2941b2647f8c7be65b0bb9033f3f9dbed0df6cb7 (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
33
34
35
36
37
38
# Maintainer: robertfoster

pkgname=partclone-git
pkgver=1142.3ecae45
pkgrel=2
pkgdesc="Utilities to back up and restore used-blocks of a partition."
arch=('i686' 'x86_64')
url="http://partclone.nchc.org.tw/"
license=('GPL')
depends=('progsreiserfs' 'ntfs-3g' 'nilfs-utils')
makedepends=('git')
provides=('partclone')
conflicts=('partlcone')
source=('partclone::git+https://github.com/Thomas-Tsai/partclone.git')

build() {
  cd partclone

  ./autogen  
  ./configure --prefix=/usr --enable-extfs --enable-reiserfs --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 partclone
  make DESTDIR="$pkgdir/" install
}

pkgver() {
  cd partclone
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

md5sums=('SKIP')