commit dbe49d59854853fcc6ba23ea0519c3808a238b33 Author: acxz <17132214+acxz@users.noreply.github.com> Date: Wed Dec 9 19:03:27 2020 -0500 create ignition-gui package diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..03648f19382 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ignition-gui + 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. + pkgver = 4.0.0 + pkgrel = 1 + url = https://ignitionrobotics.org/libs/gui + arch = x86_64 + license = Apache + makedepends = cmake + source = ignition-gui-4.0.0.tar.gz::https://github.com/ignitionrobotics/ign-gui/archive/ignition-gui4_4.0.0.tar.gz + sha256sums = 17de4b5c84ee272075da1c8ef57d9e8b761e9b6941f711ca07602b28011c681d + +pkgname = ignition-gui + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..2bf60461f44 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: acxz + +pkgname=ignition-gui +pkgver=4.0.0 +pkgrel=1 +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') +depends=() +makedepends=('cmake') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-gui/archive/${pkgname}4_${pkgver}.tar.gz") +sha256sums=('17de4b5c84ee272075da1c8ef57d9e8b761e9b6941f711ca07602b28011c681d') + +_dir="ign-gui-${pkgname}4_${pkgver}" + +build() { + cd "$srcdir/$_dir" + + mkdir -p build + cd build + + # Configure build + cmake .. -DCMAKE_BUILD_TYPE="Release" \ + -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \ + -DCMAKE_INSTALL_LIBDIR="lib" \ + -DBUILD_TESTING=OFF + + # Compile + make +} + +package() { + cd "$srcdir/$_dir/build" + #make DESTDIR="$pkgdir/" install + make install +}