qt6-qtgraphs

This commit is contained in:
Евгений Храмов 2024-06-23 19:11:04 +03:00
parent ebbde0c603
commit b813848531

29
qt6-qtgraphs/alr.sh Normal file

@ -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="Евгений Храмов <xpamych@yandex.ru>"
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
}