1 # Contributor: Marco Lima <cipparello gmail com>
5 pkgdesc="Provides effective control of VirtualBox VM on a Linux headless server"
7 url="http://vboxtool.sourceforge.net"
10 optdepends=("virtualbox_bin: VirtualBox")
11 backup=(etc/conf.d/vboxtool.conf)
12 source=("http://downloads.sourceforge.net/sourceforge/vboxtool/$pkgname-$pkgver.zip"
16 md5sums=('05e7ced6c28875b9acd5ddc2ed33fa77'
17 '3c78e5decacc41c79829e2e17059d87d'
18 'f86f67d1043ba2a9279347d37680766f')
23 install -D -m 755 script/vboxtool "$pkgdir/"usr/bin/vboxtool || return 1
25 # archified version of the original init script
26 install -D -m 755 "$srcdir/"vboxtool "$pkgdir/"etc/rc.d/vboxtool || return 1
27 install -D -m 644 "$srcdir/"vboxtool.conf "$pkgdir/"etc/conf.d/vboxtool.conf || return 1
28 install -m 755 -d "$pkgdir/"etc/vboxtool || return 1
31 install -m 755 -d "$pkgdir/"usr/share/doc/$pkgname || return 1
32 install -m 644 -t "$pkgdir/"usr/share/doc/$pkgname script/vboxtoolinit changelog.txt \
33 readme.txt || return 1