blob: e672977dc98e45f1a3e80b01aabd1a9949af0b86 (
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
|
# Maintainer: Jan Neumann <neum DOT ja AT gmail DOT com>
pkgname=sierrabreeze-kwin-decoration-git
_gitname=SierraBreeze
pkgver=r71.3512961
pkgrel=2
pkgdesc="OSX-like window decoration for KDE Plasma written in C++ (git version)"
arch=('x86_64')
url="https://github.com/kay0u/SierraBreeze"
license=('GPL2')
depends=('kwin')
makedepends=('git' 'cmake' 'extra-cmake-modules')
optdepends=('breezemite-yakuake-git: Matching theme for Yakuake')
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd ${srcdir}/${_gitname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ${srcdir}/${_gitname}
mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
}
package() {
make -C ${srcdir}/${_gitname}/build DESTDIR="$pkgdir" install
}
|