diff --git a/qt6-qtgraphs/alr.sh b/qt6-qtgraphs/alr.sh new file mode 100644 index 0000000..f8b7dc5 --- /dev/null +++ b/qt6-qtgraphs/alr.sh @@ -0,0 +1,29 @@ +name='qt6-qtgraphs' +version='6.6.2' +release='1' +desc='Qt Graphs for data visualization' +homepage='https://www.qt.io' +maintainer="Евгений Храмов " +architectures=('amd64') +licenses='GPL3 LGPL3 FDL custom' +provides=('qt6-qtgraphs') +conflicts=('qt6-qtgraphs') + +deps=('gcc-libs' 'glibc' 'qt6-base' 'qt6-declarative' 'qt6-quick3d') +build_deps=('cmake' 'git' 'ninja-build' 'qt6-qtshadertools') + +source=("https://github.com/qt/qtgraphs/archive/refs/tags/v$version.tar.gz") +sha256sums=('SKIP') + +build() { + cmake -B build -S qtgraphs -G Ninja \ + -DCMAKE_MESSAGE_LOG_LEVEL=STATUS + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$name +}