diff options
author | Zren | 2020-07-22 12:59:45 -0400 |
---|---|---|
committer | Zren | 2020-07-22 12:59:45 -0400 |
commit | 0d9d5c69e3f5d7f1ac9c29d4ae3985ca55bc5a06 (patch) | |
tree | 4d00cdf6ba4189b44ac32877a908fdad422d43c3 | |
parent | de4da0e1163c3dbd6d653897c7ce2e715b4f54cf (diff) | |
download | aur-0d9d5c69e3f5d7f1ac9c29d4ae3985ca55bc5a06.tar.gz |
Add makedepends = extra-cmake-modules. Remove prepare mkdir build dir.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 9 insertions, 16 deletions
@@ -1,12 +1,13 @@ pkgbase = material-kwin-decoration-git pkgdesc = Material-ish window decoration theme for KWin, with LIM support. - pkgver = v5+3+gb6c5cdd + pkgver = v5+9+gc296eeb pkgrel = 1 url = https://github.com/Zren/material-decoration arch = x86_64 license = GPL makedepends = git makedepends = cmake + makedepends = extra-cmake-modules depends = kdecoration provides = material-kwin-decoration conflicts = material-kwin-decoration @@ -2,14 +2,14 @@ _pkgname=material-kwin-decoration pkgname=${_pkgname}-git -pkgver=v5+3+gb6c5cdd +pkgver=v5+9+gc296eeb 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') -makedepends=('git' 'cmake') +makedepends=('git' 'cmake' 'extra-cmake-modules') provides=("${_pkgname}") conflicts=("${_pkgname}") source=("${_pkgname}::git+${url}.git") @@ -20,24 +20,16 @@ pkgver() { git describe --tags --long | sed 's/-/+/g' } -prepare() { - cd "${srcdir}/${_pkgname}" - mkdir -p build -} - build() { - cd "${srcdir}/${_pkgname}/build" - - cmake .. \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ + cmake \ + -S "${srcdir}/${_pkgname}" \ + -B "build" \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON - make + make -C "build" } package() { - cd "${srcdir}/${_pkgname}/build" - make -C "$srcdir/$_pkgname/build" DESTDIR="$pkgdir" install + make -C "build" DESTDIR="$pkgdir" install } |