blob: dc00c4d46bcb68e43d2d013bbce7d30d824f2952 (
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
|
# Maintainer: Jianqiu Zhang <void001@archlinuxcn.org>
pkgname=kcm-colorful-git
pkgrel=1
pkgver=0.0.2
pkgdesc='Make your KDE plasma colorful'
arch=('x86_64')
url="https://github.com/IsoaSFlus/kcm-colorful"
license=('GPL2')
depends=('kconfigwidgets')
makedepends=('cmake' 'git' 'extra-cmake-modules' 'qt5-base' 'frameworkintegration' 'kcmutils')
source=(
"kcm-colorful::git+https://github.com/IsoaSFlus/kcm-colorful"
)
sha256sums=('SKIP')
pkgver() {
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd $srcdir/kcm-colorful
git submodule init
git submodule update
}
build() {
cd $srcdir/kcm-colorful
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" ..
make
}
package() {
cd $srcdir/kcm-colorful/build
make install
}
|