blob: 7054782039dbff6164ac2880719b72d4578c19ed (
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
36
37
38
39
40
41
42
43
|
# Maintainer: Peter Cai <peter@typeblog.net>
_pkgname=kwin
_pkgver=5.14.5
pkgname=kwin-aurorae-optional-titlebar
pkgver=${_pkgver}_1
pkgrel=1
pkgdesc='A hacked version of the KWin theme engine Aurorae that allows skipping title bars for a user-defined set of applications'
arch=(x86_64)
url='https://git.angry.im/PeterCxy/kwin-aurorae-optional-titlebar'
license=(LGPL)
depends=("kwin>=$_pkgver")
makedepends=(extra-cmake-modules qt5-tools)
source=(
"https://download.kde.org/stable/plasma/$_pkgver/$_pkgname-$_pkgver.tar.xz"
"kwin-aurorae-optional-titlebar.patch"
"kwin-aurorae-optional-titlebar.sh"
)
md5sums=('996d3477d0016e999d6d517ec072e983'
'b314f47c73308e1440344288a75f7c93'
'854459e61a223321d674299a97ec082e')
prepare() {
mkdir -p build
cd $_pkgname-$_pkgver
patch -p1 < ../kwin-aurorae-optional-titlebar.patch
}
build() {
cd build
cmake ../$_pkgname-$_pkgver
make kwin5_aurorae
}
package() {
dstdir=$pkgdir/usr/lib/kwin-aurorae-optional-titlebar/org.kde.kdecoration2
mkdir -p $dstdir
cp build/bin/org.kde.kdecoration2/kwin5_aurorae.so $dstdir
profdir=$pkgdir/etc/profile.d
mkdir -p $profdir
cp kwin-aurorae-optional-titlebar.sh $profdir
}
|