blob: a179861f930df87c742f6147a78cc88d4cda3450 (
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
|
pkgname=plasma5-runners-tmux
_srcname=krunner-tmux-sessions
pkgver=0.0.5
pkgrel=4
pkgdesc="Searches running tmux sessions and attaches to them"
arch=('i686' 'x86_64')
conflicts=('plasma-runners-tmux')
depends=('tmux' 'krunner5')
makedepends=('cmake' 'extra-cmake-modules')
url="https://github.com/Teyras/krunner-tmux-sessions"
license=('MIT')
source=(https://github.com/Teyras/krunner-tmux-sessions/archive/${pkgver}.tar.gz)
sha1sums=('90c92791ea9eb2fda80c67c2caece5e975a9979b')
prepare() {
mkdir -p build
}
build()
{
cd build
cmake ../${_srcname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) \
-DQT_PLUGIN_INSTALL_DIR=$(kf5-config --qt-plugins) \
-DCMAKE_BUILD_TYPE=Release
make
}
package()
{
cd build
make DESTDIR=${pkgdir} install
}
|