summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4d7de7dd984cba94eee9940c53f69e1f24f83a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Maintainer: syrupderg <syrupderg at proton dot me>

_pkgname=klassy
pkgname=klassy-bin
pkgver=6.7.3
pkgrel=1
pkgdesc="Highly customizable binary Window Decoration, Application Style and Global Theme plugin for recent versions of the KDE Plasma desktop."
arch=('x86_64')
url="https://github.com/paulmcauley/klassy"
license=('GPL-2.0-only AND GPL-3.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT')

depends=(
	frameworkintegration
	gcc-libs
	glibc
	hicolor-icon-theme
	kcmutils
	kcolorscheme
	kconfig
	kcoreaddons
	kdecoration
	kguiaddons
	ki18n
	kiconthemes
	kwidgetsaddons
	kwindowsystem
	qt6-base
	qt6-declarative
	qt6-svg
	xdg-utils
)

provides=('klassy')
conflicts=('klassy')
replaces=('classik')

source=(
	"https://download.opensuse.org/repositories/home:/paulmcauley/Arch/$CARCH/${_pkgname}-${pkgver}-${pkgrel}-$CARCH.pkg.tar.zst"
	"LICENSE-${pkgver}::https://raw.githubusercontent.com/paulmcauley/klassy/v${pkgver}/LICENSES/MIT.txt"
)
sha256sums=(
	'SKIP'
	'SKIP'
)

options=(!debug)

package() {
	cp -a "${srcdir}/usr" "${pkgdir}/"

	# Install MIT license to required directory
	install -Dm644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}