aur/PKGBUILD

50 lines
1.1 KiB
Bash
Raw Normal View History

2020-12-10 01:03:27 +01:00
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=ignition-gui
2021-09-27 19:24:34 +02:00
pkgver=5.2.0
pkgrel=1
2020-12-10 01:03:27 +01:00
pkgdesc="Builds on top of Qt to provide widgets which are useful when developing
robotics applications, such as a 3D view, plots, dashboard, etc, and can be used
together in a convenient unified interface."
arch=('x86_64')
url="https://ignitionrobotics.org/libs/gui"
license=('Apache')
2020-12-25 19:04:30 +01:00
depends=(
qt5-base
protobuf
tinyxml2
ignition-math
ignition-common
ignition-plugin
ignition-transport
ignition-rendering
ignition-msgs
ignition-tools
)
2020-12-10 01:03:27 +01:00
makedepends=('cmake')
2021-09-27 19:24:34 +02:00
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-gui/archive/${pkgname}5_${pkgver}.tar.gz")
sha256sums=('2753ed861ffca3c3a522ec2baefa025da85f65f48ea7684e18ad26c417d51fb7')
2020-12-10 01:03:27 +01:00
2021-09-27 19:24:34 +02:00
_dir="ign-gui-${pkgname}5_${pkgver}"
2020-12-31 23:45:10 +01:00
2020-12-10 01:03:27 +01:00
build() {
cd "$srcdir/$_dir"
mkdir -p build
cd build
# Configure build
cmake .. -DCMAKE_BUILD_TYPE="Release" \
2020-12-26 19:11:25 +01:00
-DCMAKE_INSTALL_PREFIX="/usr" \
2020-12-10 01:03:27 +01:00
-DCMAKE_INSTALL_LIBDIR="lib" \
-DBUILD_TESTING=OFF
# Compile
make
}
package() {
cd "$srcdir/$_dir/build"
2020-12-26 19:11:25 +01:00
make DESTDIR="${pkgdir}/" install
2020-12-10 01:03:27 +01:00
}