summaryrefslogtreecommitdiff
path: root/pcr/plasma-applet-active-window-control/PKGBUILD
blob: 6473d9320d88ffe9add7af62c2429447b7421e11 (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
# Maintainer: David P. <megver83@parabola.nu>

pkgname=plasma-applet-active-window-control
pkgver=1.7.3
pkgrel=1
pkgdesc="Plasmoid for Plasma 5. Allowes advanced control of active window."
arch=( 'armv7h' 'i686' 'x86_64')
url="https://phabricator.kde.org/source/$pkgname"
license=('GPL')
depends=('plasma-workspace' 'qt5-graphicaleffects')
makedepends=( 'extra-cmake-modules')
conflicts=('plasma-applet-active-window-control-git' 'plasma5-applet-active-window-control-git')
source=("https://github.com/kotelnik/$pkgname/archive/v$pkgver.tar.gz")
sha512sums=('ee6992aa9f1313b79d37b2f75823d3f68443d0de2a5fb428634089cad104652ab6101aa3667d5011da7fc57fbdd8ab168ab3d292190e93ae3412a8fad24bc9fe')

build() {
    cd "${pkgname}-${pkgver}"

    mkdir -p build
    cd build
    rm -rf *

    cmake .. \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_BUILD_TYPE=Release
}

package() {
    cd "${pkgname}-${pkgver}"/build
    make install DESTDIR="${pkgdir}"
}