summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d0e6936807baa9b42c54aba5be5b6ceda82fbeba (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
# Maintainer: <tjmnkrajyej at gmail dot com>
pkgname=odinls
pkgver=880
pkgrel=1
pkgdesc='ols: language server for Odin'
arch=(x86_64)
url=https://github.com/DanielGavin/ols
license=(MIT)
depends=(odin)
options=('!lto')
source=(git+$url)
sha256sums=(SKIP)

pkgver() {
    cd ols
    git rev-list --count @
}

build() {
    cd ols
    ./build.sh
}

package() {
    install -D ols/ols "$pkgdir/usr/bin/ols"
}