summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6335c0ce7e1afc3d03da7dd810860d6c4d16e4ea (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
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
# Contributor: Martin Kostolný <clearmartin at zoho dot com>

pkgname=plasma5-applets-active-window-control
_pkgname=plasma-applet-active-window-control
pkgver=1.7.3
pkgrel=4
pkgdesc="Plasma applet for controlling the currently active window"
arch=(i686 x86_64)
url="https://github.com/kotelnik/${_pkgname}"
license=(GPL2)
depends=(plasma-workspace qt5-graphicaleffects)
makedepends=(extra-cmake-modules)
source=($pkgname-$pkgver.tar.gz::"https://github.com/kotelnik/${_pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('f4662560bffd57155081fb8bb0d82c118204f578c7c681b442e365b6c7d169a9')

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake ../"${_pkgname}-${pkgver}" \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DBUILD_TESTING=OFF
}

package() {
  cd build
  make DESTDIR="$pkgdir" install
}