diff options
author | acxz | 2020-12-09 19:03:27 -0500 |
---|---|---|
committer | acxz | 2020-12-09 19:03:27 -0500 |
commit | dbe49d59854853fcc6ba23ea0519c3808a238b33 (patch) | |
tree | c48733d4fca8ddeabcc4f2676cdf13330c77869f | |
download | aur-dbe49d59854853fcc6ba23ea0519c3808a238b33.tar.gz |
create ignition-gui package
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..03648f19382e --- /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 000000000000..2bf60461f444 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: acxz <akashpatel2008 at yahoo dot com> + +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 +} |