summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 09f2332159ee8a94c0705640c50326802ae52adb (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
# Generated by debtap
# Maintainer: Alex
# Contributor: Alex
pkgname=('opentx-companion-bin')
pkgver=2.3.10
pkgrel=1
pkgdesc="Models and settings editor for the OpenTX open source firmware."
arch=('x86_64')
url="http://www.open-tx.org/"
license=('GPL')
depends=('hicolor-icon-theme' 'qt5-base>=5.7.0' 'qt5-multimedia>=5.6.0beta' 'qt5-svg>=5.6.0beta' 'sdl>=1.2.11')
provides=('companion')
conflicts=('companion' 'companion9x-svn')
options=('!strip' '!emptydirs')
install=${pkgname}.install
source_x86_64=("https://downloads.open-tx.org/2.3/release/companion/linux/companion23_${pkgver}_amd64.deb")
sha512sums_x86_64=('f25c9dda0fab026c23c3097ac2faaa31af22997eac8fe4194c1b8ca0f16a36f374ca25a2adeb5147444ce5c18405419479ec26604efe194780668521a94a0a90')

package(){

	# Extract package data
	tar xzf data.tar.gz -C "${pkgdir}"

	# Fix directories structure differencies
	cd "${pkgdir}"

	mv usr/local/bin usr/bin
	mv usr/local/lib usr/lib
	mv lib/* usr/lib
	rm -r lib
}