fix description, license and desktop files

This commit is contained in:
horstderheld 2021-11-05 22:48:22 +01:00
parent 4630e6e462
commit 9c75621702
2 changed files with 7 additions and 8 deletions

View file

@ -1,10 +1,10 @@
pkgbase = edgetx-companion pkgbase = edgetx-companion
pkgdesc = EEPROM Editor for EdgeTX RC transmitter firmwares pkgdesc = EEPROM Editor and Simulator for EdgeTX RC radio transmitter firmwares
pkgver = 2.5.0 pkgver = 2.5.0
pkgrel = 1 pkgrel = 1
url = https://edgetx.org/ url = https://edgetx.org/
arch = x86_64 arch = x86_64
license = GPL-2.0 license = GPL2
makedepends = arm-none-eabi-binutils makedepends = arm-none-eabi-binutils
makedepends = arm-none-eabi-gcc makedepends = arm-none-eabi-gcc
makedepends = arm-none-eabi-newlib makedepends = arm-none-eabi-newlib

View file

@ -8,10 +8,10 @@ _version_suffix=25
pkgname=${_pkgbase}-companion pkgname=${_pkgbase}-companion
pkgver=2.5.0 pkgver=2.5.0
pkgrel=1 pkgrel=1
pkgdesc="EEPROM Editor for EdgeTX RC transmitter firmwares" pkgdesc="EEPROM Editor and Simulator for EdgeTX RC radio transmitter firmwares"
arch=('x86_64') arch=('x86_64')
url='https://edgetx.org/' url='https://edgetx.org/'
license=('GPL-2.0') license=('GPL2')
depends=('hicolor-icon-theme' 'qt5-base' 'qt5-multimedia' 'sdl') depends=('hicolor-icon-theme' 'qt5-base' 'qt5-multimedia' 'sdl')
optdepends=('dfu-util: tool for flashing stm32 based radios') optdepends=('dfu-util: tool for flashing stm32 based radios')
makedepends=('arm-none-eabi-binutils' 'arm-none-eabi-gcc' 'arm-none-eabi-newlib' 'avr-gcc' 'avr-libc' 'bc' 'cmake' 'fox' 'gcc' 'git' 'python' 'python-pillow' 'python-pyqt5' 'qt5-svg' 'qt5-tools' 'qt5-translations' 'sed' 'xsd') makedepends=('arm-none-eabi-binutils' 'arm-none-eabi-gcc' 'arm-none-eabi-newlib' 'avr-gcc' 'avr-libc' 'bc' 'cmake' 'fox' 'gcc' 'git' 'python' 'python-pillow' 'python-pyqt5' 'qt5-svg' 'qt5-tools' 'qt5-translations' 'sed' 'xsd')
@ -19,8 +19,8 @@ provides=('companion')
conflicts=('companion') conflicts=('companion')
source=("git+https://github.com/EdgeTX/edgetx.git#tag=v${pkgver}" source=("git+https://github.com/EdgeTX/edgetx.git#tag=v${pkgver}"
"install.patch" "install.patch"
) )
sha256sums=('SKIP' sha256sums=('SKIP'
'36bf7c59adfe9221f8b03809e0ca0dc537328e239b2384829fb17290137e5005') '36bf7c59adfe9221f8b03809e0ca0dc537328e239b2384829fb17290137e5005')
@ -39,7 +39,6 @@ package() {
cd ${srcdir}/build cd ${srcdir}/build
make -j`nproc` DESTDIR=${pkgdir}/ install make -j`nproc` DESTDIR=${pkgdir}/ install
cd ${pkgdir}/usr/share/applications cd ${pkgdir}/usr/share/applications
sed -i -e 's/Categories=Application/Categories=Development;/' companion${_version_suffix}.desktop sed -i -e 's/Categories=Application/Categories=Utility/' companion${_version_suffix}.desktop
sed -i -e 's/Categories=Application/Categories=Development;/' simulator${_version_suffix}.desktop sed -i -e 's/Categories=Application/Categories=Utility/' simulator${_version_suffix}.desktop
} }