summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0ddeb4495bf1301a67c30b1b70dd2b73a0cf2be3 (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
_pkgname=Session
pkgname=desq-session-git
pkgver=r29.c37acd1
pkgrel=1
pkgdesc="Session Manager for DesQ"
arch=('any')
url="https://gitlab.com/DesQ"
license=('none')
depends=('libdesq-git' 'libdesqwl-git')
optdepends=('desq-shell-git' 'oyster-git')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
groups=('desq-git')
source=("git+https://gitlab.com/Desq/${_pkgname}.git")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${_pkgname}"
# Git, no tags available
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$srcdir/${_pkgname}"
	qmake
	make
}

package() {
	cd "$srcdir/${_pkgname}"
	make INSTALL_ROOT=${pkgdir} install
}