summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 66753d8d26d928233fabd5520b821e7ec2352157 (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: Philip Goto <philip.goto@gmail.com>

pkgname=unifydmin-git
pkgver=0.1.1.r2.g440665c
pkgrel=1
pkgdesc="Unified administration panel for heterogeneous Linux servers"
url="https://gitlab.com/gabmus/unifydmin"
arch=(any)
license=(GPL)
depends=(gtk3 fabric)
makedepends=(meson python)
provides=(unifydmin org.gabmus.unifydmin)
conflicts=(unifydmin)
source=("git+https://gitlab.com/gabmus/unifydmin.git")
sha256sums=(SKIP)

pkgver() {
    cd unifydmin
    git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    arch-meson unifydmin build
    ninja -C build
}

check() {
    meson test -C build
}

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