summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlex Meyer2019-06-17 15:39:19 -0400
committerAlex Meyer2019-06-17 15:39:19 -0400
commitea5cd2c13a5040066185d1e8e41b91372b948656 (patch)
treed6969d436bb19d3ff0236288a928977798ef8114 /PKGBUILD
parentaf29d0ade302722a4e01ea2056a93f0ee50898ae (diff)
downloadaur-ea5cd2c13a5040066185d1e8e41b91372b948656.tar.gz
put lib files in /usr/local/lib
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1b49d43ef018..b402230741ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Alex
pkgname=('opentx-companion-bin')
pkgver=2.2.3
-pkgrel=1
+pkgrel=2
pkgdesc="Models and settings editor for the OpenTX open source firmware."
arch=('x86_64')
url="http://www.open-tx.org/"
@@ -24,11 +24,11 @@ package(){
# Fix directories structure differencies
cd "${pkgdir}"
- mkdir usr/bin 2> /dev/null; mv usr/local/bin/* usr/bin; rm -rf usr/local/bin
+ mv usr/local/bin usr/bin
+ mv lib usr/lib
+
sed -i -e 's:^Exec=/usr/local/bin/:Exec=/usr/bin/:g' "usr/share/applications/companion22.desktop"
sed -i -e 's:^Exec=/usr/local/bin/:Exec=/usr/bin/:g' "usr/share/applications/simulator22.desktop"
- mkdir -p usr/lib 2> /dev/null; mv lib/* usr/lib; rm -rf lib
- mv usr/local/lib/* usr/lib; rm -rf usr/local/lib
cd ..