summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 18c3e5bf4cbad657b857e7fd7ad13a8f3f795ef5 (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=plasma-runners-tmux
_srcname=krunner-tmux-sessions
pkgver=0.0.6
pkgrel=1
pkgdesc="Searches running tmux sessions and attaches to them"
arch=('i686' 'x86_64')
conflicts=('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 .
}