blob: 8762220ea7989ca1c06989278a7596d82ab18a07 (
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
29
30
31
32
33
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: jose <jose1711 [at] gmail (dot) com>
pkgname=remotebox-gtk2
_pkgname=remotebox
pkgver=2.8
pkgrel=1
pkgdesc="Open Source VirtualBox Client with Remote Management (GTK2)"
arch=('any')
url="http://remotebox.knobgoblin.org.uk/"
license=(GPL)
install=remotebox.install
provides=($_pkgname=$pkgver-$pkgrel)
conflicts=($_pkgname)
depends=('perl' 'perl-soap-lite' 'gtk2-perl')
optdepends=('rdesktop')
source=("http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${pkgver}.tar.bz2" "remotebox.desktop")
md5sums=('36aa25b860452d2ac699dbed6c268908'
'b64b16d198471f9868ce7ed018295296')
package() {
mkdir -p $pkgdir/usr/{share/{applications,doc/remotebox,remotebox},bin}
cd $srcdir/
cd RemoteBox-${pkgver}/share/remotebox
/bin/tar cf - * | ( cd "$pkgdir"/usr/share/remotebox/; tar xfp - )
sed -i '/Bin\/share\/remotebox/s/\$Bin/\/usr/' ../../remotebox
sed -i '/use FindBin/a\
$Bin='\''/usr/'\'';' ../../remotebox
install -Dm755 ../../remotebox $pkgdir/usr/bin/remotebox
install -Dm644 icons/remotebox-about.png $pkgdir/usr/share/pixmaps/remotebox.png
install -Dm644 $srcdir/remotebox.desktop $pkgdir/usr/share/applications/remotebox.desktop
install -Dm644 ../../docs/* $pkgdir/usr/share/doc/remotebox
}
|