summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1464bf05520149ac6fc69749d61728cdc69178b9 (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
# Maintainer: chun-awa <chun-awa@outlook.com>
# Maintainer: Intro <intro-iu@outlook.com>
pkgname=lingmo-kwin-plugins
arch=("x86_64")
depends=(
    'kwin' 'qt5-base' 'qt5-declarative' 'kconfig'
    'kdecoration' 'kguiaddons' 'kcoreaddons' 'kconfigwidgets'
    'kwindowsystem' 'kwayland'
)
makedepends=('extra-cmake-modules' 'plasma-framework5' 'kdecoration5')
pkgdesc="KWin plugin for LingmoOS"
pkgrel=2
pkgver=1.2.3

url="https://lingmo.org"
license=("GPL")
source=("https://github.com/LingmoOS/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('67e505f36490bd9853c0a0c3dc660677da813105f13dd16e57a0856fc5ab5d76')

prepare() {
    cd "${srcdir}/${pkgname}-${pkgver//_/-}"
    mkdir -p build
}

build() {
    cd "${srcdir}/${pkgname}-${pkgver//_/-}/build"
    cmake -DCMAKE_PREFIX_PATH=/usr/lib/cmake/plasma5/KDecoration2 -DCMAKE_INSTALL_PREFIX=/usr ..
    make
}
package() {
    cd ${pkgname}-${pkgver//_/-}/build
    make DESTDIR="${pkgdir}" install
}