summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMinze Zwerver2018-06-14 08:39:58 +0200
committerMinze Zwerver2018-06-14 09:34:16 +0200
commit20c398d091af8971143b331890e3aa1d73253dd0 (patch)
tree2be3655c88f23d274a15a45758d066d19916d8f8 /PKGBUILD
parentb355243074119c0887b1b0956cb0966e2c718f6d (diff)
downloadaur-20c398d091af8971143b331890e3aa1d73253dd0.tar.gz
replaced qt5_use_modules to fit qt version 5.11
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 81a833d8934..b43f4862272 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributer: Arnaud
pkgname=('opentx-companion')
pkgver=2.2.1
-pkgrel=2
+pkgrel=3
pkgdesc="EEPROM Editor for OpenTX RC transmitter firmwares"
arch=('x86_64')
url="http://www.open-tx.org/"
@@ -15,20 +15,24 @@ provides=('companion')
conflicts=('companion' 'companion9x-svn')
source=("https://github.com/opentx/opentx/archive/$pkgver.tar.gz"
"installprefix.patch"
+"qt5_modules.patch"
)
sha256sums=(
'626e8f6c48d686b41311b633326811cab6788bb667185cb0e3ec0f0d627390af'
'9d669cf723e98b7be5463538b0590ae7776b3b866a423cceeb30ba9840748c64'
+ '30fd1396a47bfc250780786e52447547aafcf934c6fe1775e4301fa3c7185be2'
)
build() {
patch $srcdir/opentx-$pkgver/tools/build-companion-release.sh $startdir/installprefix.patch
+ cd $srcdir/opentx-$pkgver
+ patch -t -p 1 < $startdir/qt5_modules.patch
$srcdir/opentx-$pkgver/tools/build-companion-release.sh $srcdir/opentx-$pkgver dummy
}
package() {
- cd build
+ cd $srcdir/opentx-$pkgver/build
make -j`nproc` DESTDIR=$pkgdir/ install
cd $pkgdir/usr/share/applications
sed -i -e 's/Categories=Application/Categories=Development;/' companion22.desktop