diff options
author | MartinVonReichenberg | 2024-06-13 15:42:43 +0200 |
---|---|---|
committer | MartinVonReichenberg | 2024-06-13 15:42:43 +0200 |
commit | 80500d6cdd6db4075aa0f6b311bbd9fe7bac0fe7 (patch) | |
tree | 1f4f4113d95f3b5dc43e09db5b72198503ef663b | |
parent | 4261e5919aac9c80930efddfac60072bfe570254 (diff) | |
download | aur-80500d6cdd6db4075aa0f6b311bbd9fe7bac0fe7.tar.gz |
Update to the latest stable upstream version 0.3; changes of dependencies and build structure of PKGBUILD . . .
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 30 insertions, 20 deletions
@@ -1,22 +1,27 @@ pkgbase = koi pkgdesc = Scheduled LIGHT/DARK Theme Switching for the KDE Plasma Desktop - pkgver = 0.2.4 - pkgrel = 3 + pkgver = 0.3 + pkgrel = 1 url = https://github.com/baduhai/Koi arch = x86_64 arch = aarch64 license = LGPL3 makedepends = gcc - makedepends = qt5-base - makedepends = qt5-tools - makedepends = qt5-svg + makedepends = qt6-base + makedepends = qt6-tools makedepends = cmake makedepends = extra-cmake-modules + makedepends = desktop-file-utils + makedepends = fdupes + depends = gcc-libs + depends = plasma-desktop depends = plasma-integration - depends = plasma-framework5 + depends = plasma-workspace + depends = qt6-svg depends = hicolor-icon-theme optdepends = xsettingsd: Apply settings to GTK applications on the fly - source = Koi-0.2.4.tar.gz::https://github.com/baduhai/Koi/archive/refs/tags/0.2.4.tar.gz + optdepends = kvantum: Powerful extra customisable themes + source = Koi-0.3.tar.gz::https://github.com/baduhai/Koi/archive/refs/tags/0.3.tar.gz sha256sums = SKIP pkgname = koi @@ -4,32 +4,37 @@ pkgname='koi' _pkgname='Koi' -pkgver=0.2.4 -pkgrel=3 +pkgver=0.3 +pkgrel=1 pkgdesc="Scheduled LIGHT/DARK Theme Switching for the KDE Plasma Desktop" arch=('x86_64' 'aarch64') url="https://github.com/baduhai/Koi" license=('LGPL3') -depends=('plasma-integration' 'plasma-framework5' 'hicolor-icon-theme') -makedepends=('gcc' 'qt5-base' 'qt5-tools' 'qt5-svg' 'cmake' 'extra-cmake-modules') -optdepends=('xsettingsd: Apply settings to GTK applications on the fly') +depends=('gcc-libs' 'plasma-desktop' 'plasma-integration' 'plasma-workspace' 'qt6-svg' 'hicolor-icon-theme') +makedepends=('gcc' 'qt6-base' 'qt6-tools' 'cmake' 'extra-cmake-modules' 'desktop-file-utils' 'fdupes') +optdepends=('xsettingsd: Apply settings to GTK applications on the fly' + 'kvantum: Powerful extra customisable themes') source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/baduhai/Koi/archive/refs/tags/${pkgver}.tar.gz") sha256sums=('SKIP') -prepare() { - mkdir -p "${srcdir}/${_pkgname}-${pkgver}/src/build/" -} - build() { cmake -S "${srcdir}/${_pkgname}-${pkgver}/src/" \ - -B "${srcdir}/${_pkgname}-${pkgver}/src/build/" \ - -DCMAKE_INSTALL_PREFIX=/usr/ + -B "${srcdir}/${_pkgname}-${pkgver}/src/build/" \ + -DCMAKE_INSTALL_PREFIX="/usr/" - make -C "${srcdir}/${_pkgname}-${pkgver}/src/build/" all + make -C "${srcdir}/${_pkgname}-${pkgver}/src/build/" +} + +check() { + desktop-file-validate "${srcdir}/${_pkgname}-${pkgver}/src/${pkgname}.desktop" + fdupes -r -s "${srcdir}/" } package() { make -C "${srcdir}/${_pkgname}-${pkgver}/src/build/" DESTDIR="${pkgdir}" install - install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/src/koi.desktop" -t "${pkgdir}/usr/share/applications/" + install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/src/${pkgname}.desktop" -t "${pkgdir}/usr/share/applications/" + + desktop-file-validate "${pkgdir}/usr/share/applications/${pkgname}.desktop" + fdupes -r -s "${pkgdir}/" } |