summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 99f414cc08dcfabad0dc4899fe0962315aac37ec (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=plasma6-runners-tmux
_srcname=krunner-tmux-sessions
pkgver=0.0.6
pkgrel=3
pkgdesc="Searches running tmux sessions and attaches to them"
arch=('i686' 'x86_64')
replaces=('plasma-runners-tmux')
depends=('tmux' 'krunner')
makedepends=('cmake' 'extra-cmake-modules')
url="https://github.com/janbuchar/krunner-tmux-sessions"
license=('MIT')
source=(https://github.com/janbuchar/krunner-tmux-sessions/archive/${pkgver}.tar.gz)
sha1sums=('5940ec7bbf4a44c4bf1f561a491860034cb4f3e1')

prepare() {
	mkdir -p build
}

build()
{
	cd build

	cmake ../${_srcname}-${pkgver} \
		-DCMAKE_INSTALL_LIBEXECDIR='' \
		-DCMAKE_BUILD_TYPE=Release

	cmake --build .
}

package()
{
	cd build
	DESTDIR=${pkgdir} cmake --install .
}