updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / remotebox / PKGBUILD
blobcecc93d90f3cb8792b44c793721ed6fd340ae82c
1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
3 pkgname=remotebox
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="Open Source VirtualBox Client with Remote Management"
7 arch=('any')
8 url="http://remotebox.knobgoblin.org.uk/"
9 license=("gpl")
10 install="remotebox.install"
11 depends=('perl')
12 optdepends=('rdesktop')
13 source=("http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${pkgver}.tar.bz2" "remotebox.desktop")
14 md5sums=('c9a265031b431d8e8c0ea76f195a2881'
15          'b64b16d198471f9868ce7ed018295296')
17 build() {
18 true
21 package() {
22   mkdir -p $pkgdir/usr/{share/{applications,doc/remotebox,remotebox},bin}
23   cd $srcdir/
24   cd RemoteBox-${pkgver}/share/remotebox
25   /bin/tar cf - * | ( cd ../../../../pkg/usr/share/remotebox/; tar xfp - )
26   sed -i '/Bin\/share\/remotebox/s/\$Bin/\/usr/' ../../remotebox 
27   sed -i '/use FindBin/a\
28 $Bin='\''/usr/'\'';' ../../remotebox
29   install -Dm755 ../../remotebox $pkgdir/usr/bin/remotebox
30   install -Dm644 icons/remotebox-about.png $pkgdir/usr/share/pixmaps/remotebox.png
31   install -Dm644 $srcdir/remotebox.desktop $pkgdir/usr/share/applications/remotebox.desktop
32   install -Dm644 ../../docs/* $pkgdir/usr/share/doc/remotebox