blob: 0ac72c063e003eb5712a0eb15cb7e757a03a97a0 (
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
|
# Maintainer: kikadf <kikadf.01@gmail.com>
pkgname=plasma5-applets-volumewin7mixer
pkgver=14
pkgrel=1
pkgdesc="A fork of the default volume plasmoid with a Windows 7 theme (vertical sliders)"
arch=('any')
url="https://github.com/Zren/plasma-applets/tree/master/org.kde.plasma.volumewin7mixer"
license=(GPL)
depends=('plasma-workspace' 'qt5-declarative')
makedepends=('extra-cmake-modules')
source=(https://github.com/Zren/plasma-applets/archive/volumewin7mixer-$pkgver.tar.gz
https://raw.githubusercontent.com/kikadf/patches/master/plasma5-applets-volumewin7mixer/Add_CMakeLists.patch)
md5sums=('6b8ec6492494c4d2992fc9f871e25973'
'78e377c969441382dd6d931688f43cbe')
prepare() {
cd plasma-applets-volumewin7mixer-$pkgver/org.kde.plasma.volumewin7mixer
patch -p2 -i "${srcdir}"/Add_CMakeLists.patch
rm -f build
mkdir -p build
}
build() {
cd plasma-applets-volumewin7mixer-$pkgver/org.kde.plasma.volumewin7mixer/build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
}
package() {
cd plasma-applets-volumewin7mixer-$pkgver/org.kde.plasma.volumewin7mixer/build
make DESTDIR="$pkgdir" install
}
|