🔒 Repository is read-only – file editing is disabled.

recipes/gui/kdeclarative/PAGBUILD.yaml main

46 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
pkgname: kdeclarative
pkgver: '6.28.0'
pkgrel: '1'
pkgdesc: 'Provides integration of QML and KDE Frameworks'
url: 'https://community.kde.org/Frameworks'
arch: x86_64
license:
- 'LGPL-2.0-only LGPL-3.0-only'
groups:
- kde

depends: []
makedepends:
- 'qt6-base'
- 'qt6-tools'
- 'qt6-shadertools'
- kconfig
- ki18n
- kiconthemes
- kwidgetsaddons
- kglobalaccel
- kguiaddons

source:
- 'https://download.kde.org/stable/frameworks/6.28/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cmake -B build -S kdeclarative-6.28.0 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF -Wno-dev
  cmake --build build

package: |
  DESTDIR="${PKGDIR}" cmake --install build

update: |
  feed=https://github.com/KDE/${pkgname}/releases.atom 
  exec="lynx -read_timeout=20 -dump -listonly -nonumbers $feed"
  ligne=1 # nombre de notification ? afficher
  $exec $feed | grep title | \
  sed "s@<title>@@" | \
  sed "s@</title>@@" | \
  sed "s@v@@" | \
  head -n $(($ligne+1 )) | \
  tail -n $(($ligne))