blob: 9f45fa50120a50f89d0aa9914271d938b6fc410b (
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
|
# Maintainer: Erik Moldtmann <erik@moldtmann.de>
pkgname=expresslrs-configurator
pkgver=0.5.2
pkgrel=1
epoch=
pkgdesc="Cross platform configuration & build tool for the ExpressLRS radio link"
arch=('x86_64')
url="https://github.com/ExpressLRS/ExpressLRS-Configurator"
license=('GPL')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/ExpressLRS/ExpressLRS-Configurator/releases/download/v$pkgver/expresslrs-configurator-$pkgver.pacman")
md5sums=('e878f3c8777ae8c9af39784342aaf706')
noextract=()
package() {
# Install the application files in /opt
install -d "${pkgdir}/opt"
cp -R "${srcdir}/opt/ExpressLRS Configurator" "${pkgdir}/opt/"
# Install the .desktop file
install -D -m644 "${srcdir}/usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
# Install the icons
for icon_size in 16 24 32 48 64 96 128 256 512; do
icons_dir="/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
install -d "${pkgdir}/${icons_dir}"
install -m644 "${srcdir}${icons_dir}/${pkgname}.png" \
"${pkgdir}${icons_dir}/${pkgname}.png"
done
}
|