summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b38f7a92bbae8c1d45829261cc3af4ca9875627a (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
# Maintainer: Jan Neumann <neum dot ja at gmail dot com>


pkgname=breeze-enhanced-git
_gitname=BreezeEnhanced
pkgver=r55.b3de585
pkgrel=1
pkgdesc='A fork of KDE Breeze decoration with additional options'
arch=('any')
url='https://github.com/tsujan/BreezeEnhanced'
license=('GPL3')
depends=('plasma-desktop')
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
   make
   
}

package() {
   cd ${srcdir}/${_gitname}
   make -C ${srcdir}/${_gitname}/build DESTDIR="$pkgdir" install        

}