summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0544eba7dbdf9999f11a11794238ee54e1a16aef (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
37
38
# Maintainer: Mondoo Inc <hello@mondoo.com>
# Maintainer: Dominik Richter <dom@mondoo.com>
# Maintainer: Patrick M√ľnch <patrick@mondoo.com>
#
pkgname=mondoo
orignalVersion="11.12.2"
pkgver="${orignalVersion/-/_}"
pkgrel=1
pkgdesc="Mondoo Client CLI for the Mondoo Policy as Code Platform"
url="https://mondoo.com"
license=('custom')
source=(
    'LICENSE.html'
    'OSS-LICENSES.tar.xz'
    'mondoo.service'
    'mondoo.sh'
    )
arch=('x86_64')
depends=('cnspec')

sha256sums=(
            '280941eab28ec977cb8f3d4c640331351e21128195eaee05e0101c39fef98891'
            'cd99e204a986af5a91f46c43478b28f556a4f50fd9721844d0b600d45ac43cb8'
            'b770c0e4c38aec2b9abd67e452cd0e76833fd83d9dd3690fcbad613d08a02f9c'
            '63b502366204dd5fa011866ea85e7236a82b0504e193a2b3f2235520a47790d0'
            )


package() {

  install -Dm 644 LICENSE.html "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.html
  install -Dm 644 OSS-LICENSES.tar.xz "$pkgdir"/usr/share/licenses/$pkgname/OSS-LICENSES.tar.xz
  install -Dm 644 mondoo.service "$pkgdir"/usr/lib/systemd/system/mondoo.service
  install -Dm 755 mondoo.sh "$pkgdir"/usr/bin/mondoo
  
}

#vim: syntax=sh