diff options
author | JulioSDDR | 2019-01-22 14:27:17 +0100 |
---|---|---|
committer | JulioSDDR | 2019-01-22 14:27:17 +0100 |
commit | 0eb689398561d45655bc6ea885852fdc01d2fa33 (patch) | |
tree | 46115fe71242e93a16bcaec957d8a3fbfe52c044 /PKGBUILD | |
download | aur-0eb689398561d45655bc6ea885852fdc01d2fa33.tar.gz |
First commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0af990dcd1d3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Julio <julio@fosc.space> +# Contributor: James Duley <jagduley gmail> + + +pkgname=librepilot +pkgver=16.09 +pkgrel=1 +pkgdesc="A ground control station and firmware for UAV flight controllers" +arch=('x86_64') +url="http://www.librepilot.org" +license=('GPL') +depends=('qt5-svg' 'qt5-serialport' 'qt5-multimedia' 'qt5-quickcontrols' 'sdl' 'libusb') +makedepends=( 'rpmextract' ) +conflicts=('librepilot') +replaces=('openpilot') +source=("librepilot.rpm::https://copr-be.cloud.fedoraproject.org/results/parched/LibrePilot/fedora-29-x86_64/00803895-LibrePilot/LibrePilot-16.09+r735~gaba11f0-1.fc29.x86_64.rpm") +md5sums=('e2a9beffd9658c2e3593821453f980d3') + +package() { + cd $pkgdir + rpmextract.sh ../../librepilot.rpm + + # Fix different lib naming + mv usr/lib64/* usr/lib/ + + # Clean up unused folders + rm -rf usr/lib/.build-id + rmdir usr/lib64 +} |