3 #Maintainer: Gianluca Boiano (aka M0Rf30)
5 pkgname=partclone-ng-bzr
8 pkgdesc="Partimage-ng is a disk and partition imaging program."
10 url="https://launchpad.net/partimage-ng"
12 depends=('e2fsprogs' 'ntfs-3g' 'boost' 'parted')
13 _bzrbranch=lp:partimage-ng
17 msg "Connecting to the server..."
19 rm -rf fake-bzr-home || return 1
20 mkdir fake-bzr-home || return 1
21 export BZR_HOME="${srcdir}/fake-bzr-home"
23 if test -d ${_bzrmod}; then
25 && bzr clean-tree --force --ignored --unknown \
27 && bzr switch --force "${_bzrbranch}") \
30 bzr checkout "${_bzrbranch}" ${_bzrmod} || return 1
33 msg "BZR synchronization done"
34 msg "Starting make..."
36 cd "${srcdir}/${_bzrmod}" || return 1
37 cmake . -DCMAKE_INSTALL_PREFIX=/usr
39 make DESTDIR=$pkgdir install || return 1