summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7235a94a7da83430ac51b19e48e138790f21e983 (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
36
# Maintainer: benwaffle <vala@iofel.me>
# Maintainer: Prince781 <princetonferro@gmail.com>
pkgname=vala-language-server-git
pkgver=0.48.2.r40.572e0589
pkgrel=1
pkgdesc='Language Server for Vala'
arch=('x86_64')
url="https://github.com/prince781/vala-language-server"
license=('LGPL-2.1')
depends=('libgee' 'jsonrpc-glib' 'vala' 'meson')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+${url}.git)
sha256sums=('SKIP')
 
pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
 
#prepare() {
#	cd "$srcdir/${pkgname%-git}"
#}
 
build() {
	cd "$srcdir/${pkgname%-git}"
    arch-meson build
    ninja -C build
}
 
package() {
	cd "$srcdir/${pkgname%-git}"
    DESTDIR="${pkgdir}" ninja -C build install
}