blob: 7a572d046e10360b2b891985664c61a1c8fdd730 (
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
|
# Maintainer: jose <jose1711 [at] gmail (dot) com>
pkgname=remotebox
pkgver=3.3
pkgrel=1
pkgdesc="Open Source VirtualBox Client with Remote Management"
arch=('any')
url="http://remotebox.knobgoblin.org.uk/"
license=(GPL)
install=remotebox.install
depends=('perl' 'perl-soap-lite' 'perl-gtk3')
optdepends=('rdesktop')
source=("http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${pkgver}.tar.bz2" "remotebox.desktop")
md5sums=('a7c60817bb4475573a97b64fda6a0c07'
'b64b16d198471f9868ce7ed018295296')
package() {
mkdir -p $pkgdir/usr/{share/{applications,doc/remotebox,remotebox},bin}
cd $srcdir/
cd RemoteBox-${pkgver}/share/remotebox
/bin/tar cf - * | ( cd ../../../../pkg/remotebox/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
}
|