klassy: init

This commit is contained in:
Rocka 2023-05-06 15:22:22 +08:00
commit 00150708a2
No known key found for this signature in database
GPG key ID: 28031158FFDD6853
2 changed files with 50 additions and 0 deletions

21
.SRCINFO Normal file
View file

@ -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

29
PKGBUILD Normal file
View file

@ -0,0 +1,29 @@
# Maintainer: Rocket Aaron <i at rocka dot me>
# Contributor: Art Dev <artdevjs at gmail dot com>
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
}