blob: cb527a5123034b5e2d1aaefa8200fb4fd65fcd24 (
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
|
pkgname=plasma-runners-tmux
_srcname=krunner-tmux-sessions
pkgver=0.0.2
pkgrel=1
pkgdesc="Searches running tmux sessions and attaches to them"
arch=('i686' 'x86_64')
depends=('tmux' 'krunner')
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=('1cef8ff29d376731acbb7db1e2dd51a3ce6fabb4')
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
}
|