summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dcaabd92ff1..b2e43a5e515 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jeff Youdontneedtoknow <jeffpublicjr at gmail dot com>
pkgname=opentx-companion
-pkgver=2.1.0
-pkgrel=2
+pkgver=2.1.1
+pkgrel=1
pkgdesc="EEPROM Editor for OpenTX RC transmitter firmwares"
arch=('x86_64')
url="http://www.open-tx.org/"
@@ -11,7 +11,7 @@ makedepends=('subversion' 'cmake' 'xsd' 'python2-pyqt4' 'bc' 'python2' 'avr-gcc'
provides=('companion')
conflicts=('companion' 'companion9x-svn')
source=(https://github.com/opentx/opentx/archive/$pkgver.tar.gz)
-md5sums=('f27377d3efa735bb01f90b0699e742a0')
+md5sums=('5da1a217a41b6f283e137a5f6b222a26')
build() {
sed -i -e 's/env python/env python2.7/' $srcdir/opentx-$pkgver/radio/util/*.py
@@ -22,12 +22,15 @@ build() {
cmake ../src
make clean
make
+ mv $srcdir/opentx-$pkgver/companion/lbuild/companion.desktop $srcdir/opentx-$pkgver/companion/src/companion.desktop
sed -i -e 's/Categories=Application/Categories=Development;/' $srcdir/opentx-$pkgver/companion/src/companion.desktop
+ sed -i -e 's/Icon=companion21/Icon=companion/' $srcdir/opentx-$pkgver/companion/src/companion.desktop
+ sed -i -e 's/Name=Companion 2.1.1/Name=Companion/' $srcdir/opentx-$pkgver/companion/src/companion.desktop
}
package() {
cd $srcdir/opentx-$pkgver/companion/
- install -Dm755 lbuild/companion $pkgdir/usr/bin/companion
+ install -Dm755 lbuild/companion21 $pkgdir/usr/bin/companion21
install -Dm644 src/companion.desktop $pkgdir/usr/share/applications/companion.desktop
install -Dm644 src/icon.png $pkgdir/usr/share/icons/companion.png
} \ No newline at end of file