summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de5980142be585083fd9801746099544aa008479 (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
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>

pkgname=quadlet
pkgver=0.2.2
pkgrel=1
pkgdesc="An opinionated tool for easily running podman system containers under systemd"
arch=(x86_64)
url="https://github.com/containers/quadlet"
license=("GPL2")
depends=("systemd" "podman")
makedepends=("meson" "git")
source=("quadlet::git+https://github.com/containers/quadlet.git#tag=${pkgver}")
sha512sums=('SKIP')


build() {

        arch-meson "$srcdir/quadlet" "build"
        meson compile -C "build"
}

check() {

        meson test -C "build"
}

package() {

        meson install -C "build" --destdir "$pkgdir"

        cd "$srcdir/quadlet"
        install -vDm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
        cp -vr "docs" "examples" "$pkgdir/usr/share/doc/$pkgname"
}