summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 86e7270e101f55be3907fc4189017dcde77ca8fa (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
# Maintainer: Vlad Zagorodniy <vladzzag@gmail.com>
pkgname=kwin-effects-minimize1
pkgver=1.4
pkgrel=1
pkgdesc="KWin effect that animates the minimizing of windows"
arch=('x86_64')
url="https://github.com/zzag/kwin-effects-minimize1"
license=('GPL3')
depends=(kwin)
makedepends=(extra-cmake-modules)
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/zzag/${pkgname}/archive/${pkgver}.tar.gz)
sha256sums=('4c695059fd5bac1ca5d4917b906f71d985856eeeb8655629f0238315c1624a11')

prepare() {
    mkdir -p build
}

build() {
    cd build
    cmake ../$pkgname-$pkgver \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_INSTALL_LIBDIR=lib
    make
}

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