blob: 69c4c380e1114c97941b7f7d01db9c52d59b43f4 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Maintainer: Sam Bilbow <samuel.bilbow@icloud.com>
pkgname=ultraleap-hand-tracking-control-panel
pkgver=3.4.1
pkgrel=2
epoch=
pkgdesc="A visualisation and settings management tool for the Ultraleap Tracking Service."
arch=('x86_64')
url="https://www.ultraleap.com/"
license=('PROPRIETARY')
groups=('ultraleap-hand-tracking')
depends=(ultraleap-hand-tracking-service)
makedepends=()
checkdepends=()
optdepends=()
provides=('ultraleap-hand-tracking-control-panel')
conflicts=()
replaces=()
backup=()
options=()
install='ultraleap-hand-tracking-control-panel.install'
changelog=
source=("https://repo.ultraleap.com/apt/pool/main/u/${pkgname}/${pkgname}_1125862.deb")
noextract=()
md5sums=('9c524513e915038cf7374ce99b7622ee')
validpgpkeys=()
prepare() {
tar xJf "data.tar.xz"
# Make the icon visible in Xfce's settings panel
sed -i 's/Categories=Settings/Categories=Settings;X-XFCE-SettingsDialog;/g' "${srcdir}/usr/share/applications/ultraleap-hand-tracking-control-panel.desktop"
}
package() {
# Install files in opt directory
install -Dm755 "${srcdir}/opt/ultraleap-hand-tracking-control-panel/ultraleap-hand-tracking-control-panel" \
"${pkgdir}/opt/ultraleap-hand-tracking-control-panel/ultraleap-hand-tracking-control-panel"
install -Dm755 "${srcdir}/opt/ultraleap-hand-tracking-control-panel/UnityPlayer.so" \
"${pkgdir}/opt/ultraleap-hand-tracking-control-panel/UnityPlayer.so"
cp -r "${srcdir}/opt/ultraleap-hand-tracking-control-panel/ultraleap-hand-tracking-control-panel_Data/" "${pkgdir}/opt/ultraleap-hand-tracking-control-panel/"
# Install files in usr directory
mkdir -p "${pkgdir}/usr/bin"
ln -s "/opt/ultraleap-hand-tracking-control-panel/ultraleap-hand-tracking-control-panel" \
"${pkgdir}/usr/bin/ultraleap-hand-tracking-control-panel"
install -Dm644 "${srcdir}/usr/share/applications/ultraleap-hand-tracking-control-panel.desktop" \
"${pkgdir}/usr/share/applications/ultraleap-hand-tracking-control-panel.desktop"
install -Dm644 "${srcdir}/usr/share/doc/ultraleap-hand-tracking-control-panel/copyright" \
"${pkgdir}/usr/share/doc/ultraleap-hand-tracking-control-panel/copyright"
install -Dm644 "${srcdir}/usr/share/doc/ultraleap-hand-tracking-control-panel/changelog.gz" \
"${pkgdir}/usr/share/doc/ultraleap-hand-tracking-control-panel/changelog.gz"
install -Dm644 "${srcdir}/usr/share/lintian/overrides/ultraleap-hand-tracking-control-panel" \
"${pkgdir}/usr/share/lintian/overrides/ultraleap-hand-tracking-control-panel"
cp -r "${srcdir}/usr/share/gnome-shell/" \
"${pkgdir}/usr/share/gnome-shell/"
# Install icons
for size in 8x8 16x16 22x22 24x24 32x32 36x36 42x42 48x48 64x64 72x72 96x96 128x128 192x192 256x256
do
install -Dm644 "${srcdir}/usr/share/icons/hicolor/${size}/apps/ultraleap_hand_tracking_control_panel.png" \
"${pkgdir}/usr/share/icons/hicolor/${size}/apps/ultraleap_hand_tracking_control_panel.png"
done
}
|