From 00150708a2c8a78a52a45657f2324e33625b3ede Mon Sep 17 00:00:00 2001 From: Rocka Date: Sat, 6 May 2023 15:22:22 +0800 Subject: [PATCH] klassy: init --- .SRCINFO | 21 +++++++++++++++++++++ PKGBUILD | 29 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b0f1f6c6192a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = klassy + pkgdesc = Klassy is a highly customizable binary Window Decoration and Application Style plugin for recent versions of the KDE Plasma desktop. It provides the Klassy, Kite, Oxygen/Breeze, and Redmond icon styles. + pkgver = 4.0.breeze5.25.80 + pkgrel = 1 + url = https://github.com/paulmcauley/klassy + arch = x86_64 + license = GPL + makedepends = extra-cmake-modules + makedepends = kcmutils + depends = frameworkintegration + depends = kdecoration + depends = breeze-icons + depends = kwayland + depends = kirigami2 + depends = hicolor-icon-theme + optdepends = kcmutils: for klassy-settings + replaces = classik + source = klassy-4.0.breeze5.25.80.zip::https://github.com/paulmcauley/klassy/archive/refs/tags/4.0.breeze5.25.80.zip + sha256sums = 1b8e28bd358f4d8c02c5afeb3930b9dc81e6096d7f1f7e718fcf487650b729c5 + +pkgname = klassy diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..29a6e0dbfd8e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Rocket Aaron +# Contributor: Art Dev + +pkgname=klassy +pkgver=4.0.breeze5.25.80 +pkgrel=1 +pkgdesc='Klassy is a highly customizable binary Window Decoration and Application Style plugin for recent versions of the KDE Plasma desktop. It provides the Klassy, Kite, Oxygen/Breeze, and Redmond icon styles.' +arch=(x86_64) +url="https://github.com/paulmcauley/klassy" +license=(GPL) +replaces=(classik) +depends=(frameworkintegration kdecoration breeze-icons kwayland kirigami2 hicolor-icon-theme) +makedepends=(extra-cmake-modules kcmutils) +optdepends=('kcmutils: for klassy-settings') +source=("${pkgname}-${pkgver}.zip::https://github.com/paulmcauley/${pkgname}/archive/refs/tags/${pkgver}.zip") +sha256sums=('1b8e28bd358f4d8c02c5afeb3930b9dc81e6096d7f1f7e718fcf487650b729c5') + +build() { + cmake -B build -S ${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + cmake --build build +} + +package() { + DESTDIR="${pkgdir}" cmake --install build +}