blob: f46b8974d2ff0c4618f8f7f6e22255d8ec406ffe (
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: David Baum <david.baum@naraesk.eu>
pkgname=plasma5-applets-docker
pkgver=2.2.0
pkgrel=1
pkgdesc="Start and stop docker images"
arch=('i686' 'x86_64')
url="https://github.com/naraesk/plasma-docker"
license=('GPL3')
groups=()
depends=('docker' 'docker-compose' 'plasma-workspace')
makedepends=('cmake' 'extra-cmake-modules' 'ki18n' 'qt5-base' 'qt5-declarative' 'qt5-tools')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=''
changelog=''
source=("$pkgname-$pkgver.tar.gz::https://github.com/naraesk/plasma-docker/archive/v2.2.0.tar.gz")
noextract=()
sha256sums=('48d766425decdb583b726494e907a38b747069618d730b89afdcb2cd5a72198d')
prepare() {
cd plasma-docker-${pkgver}
mkdir -p build
}
build() {
cd plasma-docker-${pkgver}/build
export QT_SELECT=5
cmake ../ \
-DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd plasma-docker-${pkgver}/build
make DESTDIR="${pkgdir}" install
}
|