summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bec9f2ab7db383f9b48182bd7da129e98f6dc82c (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
# Maintainer: robertfoster

pkgname=g4l
pkgver=0.54
pkgrel=1
pkgdesc="Ghost 4 Linux is a hard disk and partition imaging and cloning tool."
arch=('any')
url="http://freecode.com/projects/g4l/"
license=('GPL')
depends=('ddrescue' 'partimage' 'dd_rhelp' 'dialog' 'lzop' 'gzip' 'bzip2' 'ncurses' 'fsarchiver')
source=(http://fossies.org/linux/misc/${pkgname}-v${pkgver}.devel.tar.gz)
noextract=(${pkgname}-v${pkgver}.devel.tar.gz)
makedepends=(wget)

package() {
  cd $srcdir
  tar -zxvf ${pkgname}-v${pkgver}.devel.tar.gz -C $srcdir bootcd/rootfs
  tar -zxvf ${pkgname}-v${pkgver}.devel.tar.gz -C $srcdir resources/jetcat
  mkdir -p $pkgdir/usr/bin/
  mv $srcdir/bootcd/rootfs/{*g4l,g4l3*} $pkgdir/usr/bin/
  mkdir -p $pkgdir/mnt/local
  cd resources/jetcat
  make clean
  make all 
  install -c -s -m 755 jetcat-mod $pkgdir/usr/bin
}

md5sums=('ba472043a9b3d796faed9ec58fa175f4')