summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMinze Zwerver2017-06-28 23:48:30 +0200
committerMinze Zwerver2017-06-28 23:48:30 +0200
commitd36e2e3f95672d11be50440e7dc7bfd6cfa7fc56 (patch)
tree4f2275068087a2ca87cdca49d549a2f050ea5f38 /PKGBUILD
parenta89bcbd740ab8ff1caf73d7418e30b97ce7a2c4c (diff)
downloadaur-d36e2e3f95672d11be50440e7dc7bfd6cfa7fc56.tar.gz
Now using the build release script (with a little patch)
Simulators now included!
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 9 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fc791e943ad..c9fe14c9cee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,36 @@
# Maintainer: Ysblokje <ysblokje at gmail dot com>
# Previous Maintainer: Jeff Youdontneedtoknow <jeffpublicjr at gmail dot com>
# Contributer: Arnaud
-pkgname=opentx-companion
+pkgname=('opentx-companion')
pkgver=2.2.0
-pkgrel=2
+pkgrel=3
pkgdesc="EEPROM Editor for OpenTX RC transmitter firmwares"
arch=('x86_64')
url="http://www.open-tx.org/"
license=('GPL')
depends=('qt5-base' 'qt5-multimedia' 'qt5-svg' 'sdl')
-makedepends=('cmake' 'xsd' 'bc' 'python' 'avr-gcc' 'avr-libc' 'sed' 'qt5-tools' 'python-pyqt5')
+makedepends=('cmake' 'xsd' 'bc' 'python' 'avr-gcc' 'avr-libc' 'sed' 'qt5-tools' 'python-pyqt5' 'arm-none-eabi-gcc' 'arm-none-eabi-binutils' 'arm-none-eabi-newlib' 'fox')
provides=('companion')
conflicts=('companion' 'companion9x-svn')
source=("https://github.com/opentx/opentx/archive/$pkgver.tar.gz"
- "cmake_version.diff"
+"installprefix.patch"
)
sha256sums=(
'27a07efcbb7d5759bafea7d8a6d97f910c2830881c0d4c71cbbc7da65446b2cd'
- '3c2777a7f5261851150652dd0c15aa8900c5f07ab20b19322e6be7dc5450d3c4'
+ '9d669cf723e98b7be5463538b0590ae7776b3b866a423cceeb30ba9840748c64'
)
build() {
- cd $srcdir/opentx-$pkgver
- patch -p1 -i ${srcdir}/cmake_version.diff
-
- mkdir -p lbuild
- cd lbuild
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DFIRMWARE_TARGET=OFF ../
- make
+ patch $srcdir/opentx-$pkgver/tools/build-companion-release.sh $startdir/installprefix.patch
+ $srcdir/opentx-$pkgver/tools/build-companion-release.sh $srcdir/opentx-$pkgver dummy
}
package() {
- cd $srcdir/opentx-$pkgver/lbuild
+ cd build
make DESTDIR=$pkgdir/ install
cd $pkgdir/usr/share/applications
sed -i -e 's/Categories=Application/Categories=Development;/' companion22.desktop
sed -i -e 's/Categories=Application/Categories=Development;/' simulator22.desktop
- rm -Rf $pkgdir/lib
}
+