updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / clonezilla / PKGBUILD
blob38294b6b18ac39db942996a4b4e901b5ad6a85a1
2 pkgname=clonezilla
3 pkgver=2.3.58
4 pkgrel=1
5 pkgdesc="The Free and Open Source Software for Disk Imaging and Cloning"
6 arch=('i686' 'x86_64')
7 url="http://clonezilla.org/"
8 license=('GPL')
9 depends=('partclone' 'ntfsprogs' 'coreutils' 'partimage' 'drbl')
10 install=$pkgname.install
11 source=(http://free.nchc.org.tw/drbl-core/src/stable/$pkgname-$pkgver.tar.bz2)
13 package() {
14   cd $srcdir/$pkgname-$pkgver
15   make DESTDIR=$pkgdir install  
16   install -m755 -d $pkgdir/usr/bin
17   touch $pkgdir/usr/bin/clonezilla
18   echo "#!/bin/sh" > $pkgdir/usr/bin/clonezilla
19   echo "/opt/drbl/sbin/clonezilla" >> $pkgdir/usr/bin/clonezilla
20   chmod 0755 $pkgdir/usr/bin/clonezilla
21   chmod +x $pkgdir/usr/bin/clonezilla
24 md5sums=('37b8e7563607c4e43050fd3b598f6672')