summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a11ec89ac4850217058df0ecbda08f6d7c9f30ff (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
# Maintainer: bziemons <ben@rs485.network>
pkgname=tuiwidgets-git
pkgver=r617.12a497a
pkgrel=1
pkgdesc="Terminal user inferface toolkit"
arch=("x86_64")
url="https://github.com/tuiwidgets/tuiwidgets"
license=('Boost')
depends=('qt5-base' 'termpaint-git' 'posixsignalmanager-git')
makedepends=(meson git)
provides=(tuiwidgets)
conflicts=(tuiwidgets)
options=(strip)
source=("git+https://github.com/tuiwidgets/tuiwidgets.git")
md5sums=("SKIP")

pkgver() {
    cd "tuiwidgets"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    arch-meson tuiwidgets _build
    meson compile -C _build
}

check() {
    meson test -C _build
}

package() {
    DESTDIR="$pkgdir" meson install -C _build
}