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 | |
download | aur-0eb689398561d45655bc6ea885852fdc01d2fa33.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7b7a1541945a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = librepilot + pkgdesc = A ground control station and firmware for UAV flight controllers + pkgver = 16.09 + pkgrel = 1 + url = http://www.librepilot.org + arch = x86_64 + license = GPL + makedepends = python2 + makedepends = qt5-tools + makedepends = qt5-quick1 + makedepends = rpmextract + depends = qt5-svg + depends = qt5-serialport + depends = qt5-multimedia + depends = qt5-quickcontrols + depends = sdl + depends = libusb + 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 + +pkgname = librepilot + 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 +} |