summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 357c13bb1751e58bca90943b979e5000ef697985 (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
# Maintainer: Thomas Andrejak <thomas.andrejak@gmail.com>

pkgname=libpreludedb
pkgver=5.2.0
pkgrel=1
pkgdesc="Framework to easy access to the Prelude database"
arch=('i686' 'x86_64')
url="https://www.prelude-siem.org"
license=('GPLv2')
makedepends=('libmariadbclient' 'postgresql-libs' 'sqlite')
depends=('gnutls' 'python3' 'gtk-doc' 'libprelude')
optdepends=('sqlite: SQLite support'
            'mariadb: MariaDB support'
            'postgresql: PostgreSQL support')
source=("https://www.prelude-siem.org/pkg/src/5.2.0/$pkgname-$pkgver.tar.gz"
        "libpreludedb-5.1.0-fix_gtkdoc_1.32.patch"
        "libpreludedb-5.1.0-fix_py38.patch"
        "libpreludedb-5.1.0-update_m4_postgresql.patch"
        )

build() {
  cd "$srcdir/$pkgname-$pkgver"
  CPP="cpp -P" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

md5sums=('732c3c67f1a7318d6e64831a2fa5abce' 'c7dcc36dea18613273437ba7114509b8' 'e76d6a5a75e312a235b15f8dd4d13110' '5a643e0b78a60505c24e84e2696000ad')