summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9ca102df45a59277f8e2fb2815529368de6b0c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Thomas Andrejak <thomas.andrejak@gmail.com>

pkgname=prelude-lml-rules
pkgver=5.0.0
pkgrel=1
pkgdesc="Prelude LML community ruleset"
arch=('i686' 'x86_64')
url="https://www.prelude-siem.org"
license=('GPLv2')
depends=('prelude-lml')
source=("https://www.prelude-siem.org/pkg/src/5.0.0/$pkgname-$pkgver.tar.gz")
backup=('etc/prelude-lml/ruleset/pcre.rules')

package() {
  cd "$srcdir"/$pkgname-$pkgver
  install -d -m 0700 "$pkgdir/etc/prelude-lml"
  install -d -m 0700 "$pkgdir/etc/prelude-lml/ruleset"
  install -d -m 0755 "$pkgdir/usr/bin"
  install -m 0600 ruleset/*.rules "$pkgdir/etc/prelude-lml/ruleset/"
  install -m 0755 src/prelude-lml-rules-check "$pkgdir/usr/bin/"
}

md5sums=('f524da1053be96bedbccc3d9eca2b343')