updated on Mon Jan 23 20:11:11 UTC 2012
[aur-mirror.git] / vdimount / PKGBUILD
blob329441a8ca6f1e3b9fb904aff32dee7f36a86a05
1 # Contributor: ezzetabi <ezzetabi at gawab dot com>
3 pkgname=vdimount
4 pkgver=0
5 pkgrel=2
6 pkgdesc="Tool to mount the partitions inside the virtualbox hard drives (vdi files)"
7 arch=(i686 x86_64)
8 url="http://muralipiyer.blogspot.com/2008/02/mounting-virtualbox-vdi-disk-authentic.html"
9 license=('unknown')
10 depends=(perl)
11 makedepends=(gcc)
12 install=
13 source=('http://pastebin.ca/raw/1297025' 'http://pastebin.ca/raw/1297026')
15 build() {
16   cd "$srcdir"
17   <1297025 tr -d '\r' >vdimount
18   mv 1297026 vdiinfo.c
19   gcc -o vdiinfo vdiinfo.c || return 1
21   install -d -m 755 "$pkgdir/usr/bin"
22   install -m 755 vdiinfo "$pkgdir/usr/bin"
23   install -m 755 vdimount "$pkgdir/usr/bin"
26 md5sums=('3fc12ea57cacce1ba14804912a8dac78'
27          'e99402b1955cbfcac9531f432c2a21ac')
29 # vim:set ts=2 sw=2 et: