Date: Tuesday, March 2, 2021 @ 17:47:25 Author: arojas Revision: 409069
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: qt6-scxml/repos/ qt6-scxml/repos/kde-unstable-x86_64/ qt6-scxml/repos/kde-unstable-x86_64/PKGBUILD (from rev 409068, qt6-scxml/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: qt6-scxml/repos/kde-unstable-x86_64/PKGBUILD (from rev 409068, qt6-scxml/kde-unstable/PKGBUILD) =================================================================== --- repos/kde-unstable-x86_64/PKGBUILD (rev 0) +++ repos/kde-unstable-x86_64/PKGBUILD 2021-03-02 17:47:25 UTC (rev 409069) @@ -0,0 +1,30 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=qt6-scxml +_qtver=6.1.0-beta1 +pkgver=${_qtver/-/} +pkgrel=1 +arch=(x86_64) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Static and runtime integration of SCXML models into Qt6 code' +depends=(qt6-base) +makedepends=(cmake qt6-declarative) +optdepends=('qt6-declarative: QML bindings') +groups=(qt6) +_pkgfn="${pkgname/6-/}-everywhere-src-${_qtver%-*}" +source=("https://download.qt.io/development_releases/additional_libraries/${pkgver%.*}/$_qtver/$_pkgfn.tar.xz") +sha256sums=('cda9de7752b9ff8784c8d8977d8f35dd037a168d853739e1f9bfeb3378a29d59') + +build() { + cmake -B build -S $_pkgfn + 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/$pkgname +}