blob: d1ea26b9a2687f9d41623fb2b3b3c8e7618f922a (
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
65
66
67
68
69
70
71
|
# Maintainer: Meredith V. <delightful.device@pm.me>
pkgname=wrlcatcontrol-bin
pkgver=1.1.3
pkgrel=1
pkgdesc="World Radio League CAT Control application"
arch=('x86_64')
url="https://worldradioleague.com"
license=('LicenseRef-upstream-proprietary')
pkgdesc="CAT (Computer Aided Transceiver) Control allows World Radio League to communicate directly with your radio."
install=wrlcatcontrol-bin.install
depends=(
'java-runtime'
'libusb'
'glibc'
'lib32-glibc'
'lib32-gcc-libs'
'gtk3'
'nss'
'at-spi2-core'
'libdrm'
'alsa-lib'
)
optdepends=(
'hamlib: CAT control backend support'
)
provides=('wrl-cat-control')
conflicts=('wrl-cat-control')
source=(
"WRLCatControl_${pkgver}_Linux.deb::https://storage.googleapis.com/world-radio-league-prod.appspot.com/CatControl/WRLCatControl_${pkgver}_Linux.deb"
"wrl-cat-control.desktop"
"wrlcatcontrol-bin.install"
)
sha256sums=(
'SKIP'
'SKIP'
'SKIP'
)
package() {
cd "${srcdir}"
# Extract Debian package
bsdtar -xf "WRLCatControl_${pkgver}_Linux.deb"
# Extract filesystem contents
bsdtar -xf data.tar.xz -C "${pkgdir}"
# Ensure binaries are executable
find "${pkgdir}/usr/bin" -type f -exec chmod 755 {} \; 2>/dev/null || true
install -Dm644 wrl-cat-control.desktop \
"${pkgdir}/usr/share/applications/wrl-cat-control.desktop"
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
cat > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" << EOF
WRLCatControl is proprietary software.
For licensing terms and usage restrictions, see the upstream developer:
https://worldradioleague.com
EOF
}
|