blob: 0f7bf9b7d609bf14a4d8e5e4c6b287e381cf86eb (
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
|
# Maintainer: Kav <hello [at] properlypurple [dot] com
pkgname=plasma5-applets-nx-systemtray
_pkgname=${pkgname%-git}
_repodir=nx-systemtray-applet
pkgver=r15.fd33154
pkgrel=1
pkgdesc="System tray applet from NX Desktop by Nitrux SA."
arch=('any')
url="https://github.com/nx-desktop/nx-systemtray-applet.git"
license=('GPL')
depends=('plasma-framework' 'plasma-desktop')
makedepends=('git' 'cmake' 'extra-cmake-modules' 'kdesignerplugin' 'packagekit-qt5')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
source=("git+https://github.com/nx-desktop/nx-systemtray-applet.git#branch=master")
md5sums=('SKIP')
pkgver() {
cd "${_repodir}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${_repodir}"
mkdir -p build
cd build
rm -rf *
cmake -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DCMAKE_BUILD_TYPE=Release -DLIB_INSTALL_DIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ../
make
}
package() {
cd "${_repodir}"/build
make install DESTDIR="${pkgdir}"
}
|