blob: ab324e9086786e598340b87fec3fe19dbf769429 (
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
|
# Maintainer: Zren <zrenfire@gmail.com>
_pkgname=material-kwin-decoration
pkgname=${_pkgname}-git
pkgver=v5+38+g65fe6f5
pkgrel=1
pkgdesc="Material-ish window decoration theme for KWin, with LIM support."
url='https://github.com/Zren/material-decoration'
arch=('x86_64')
license=('GPL')
depends=('kdecoration' 'kconfig' 'kconfigwidgets' 'kcoreaddons' 'kiconthemes' 'kwindowsystem')
makedepends=('git' 'cmake' 'extra-cmake-modules')
optdepends=('appmenu-gtk-module: gtk app support')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --tags --long | sed 's/-/+/g'
}
build() {
cmake \
-S "${srcdir}/${_pkgname}" \
-B "build" \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make -C "build"
}
package() {
make -C "build" DESTDIR="$pkgdir" install
}
|