summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ddc9a0b4c2e302974867f8956088f7dbbba3cb10 (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
# Maintainer: Alejandro Valdes <alejandrovaldes@live.com>

pkgname=kwin-decoration-sierra-breeze-enhanced-git
_gitname=SierraBreezeEnhanced
pkgver=r238.0f2cb36
pkgrel=2
pkgdesc="A fork of BreezeEnhanced to make it (arguably) more minimalistic and informative (git version)"
arch=('x86_64')
url="https://github.com/chiyuki0325/SierraBreezeEnhanced"
license=('GPL3')
depends=('kwin')
makedepends=('git' 'cmake' 'extra-cmake-modules')
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        
}