summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a660b6f7dfd144480ab0ccc0ec0a304c269019c (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.9
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=('726bfb8db6767cfab5ad635aa30a65a89917323df91b7be61972645f1577f6f6ba6258d28f76d777b6671fa63fa6b6467d9e6b293588e13c961de0c36355de1d')

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
}