summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornfnty2018-10-16 21:49:15 +0100
committernfnty2018-10-16 21:49:21 +0100
commitacda119371b24e1514737210121dae13c838afd7 (patch)
treea764d133dc337a3a732b47edaa8549006826b4dc
parent5d60265c26406aa87e8c4ab1da780760b0514809 (diff)
downloadaur-acda119371b24e1514737210121dae13c838afd7.tar.gz
Use `ninja` for build, Update `depends`
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cd04415ad07..1069df23931 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = rspamd-git
pkgdesc = Rapid spam filtering system
- pkgver = r11305
+ pkgver = r13428
pkgrel = 1
url = https://github.com/vstakhov/rspamd
arch = i686
@@ -10,6 +10,7 @@ pkgbase = rspamd-git
makedepends = cmake
makedepends = pkgconfig
makedepends = ragel
+ makedepends = ninja
depends = openssl
depends = libevent
depends = glib2
@@ -18,8 +19,6 @@ pkgbase = rspamd-git
depends = sqlite
depends = hiredis
depends = file
- depends = libfann
- depends = gd
depends = icu
provides = rspamd
conflicts = rspamd
diff --git a/PKGBUILD b/PKGBUILD
index 0f86159e38c..ce88f46ae86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
pkgname=('rspamd-git')
_srcname='rspamd'
pkgdesc='Rapid spam filtering system'
-pkgver='r11305'
+pkgver='r13428'
pkgrel='1'
arch=('i686' 'x86_64')
url="https://github.com/vstakhov/${_srcname}"
license=('Apache')
-depends=('openssl' 'libevent' 'glib2' 'gmime' 'luajit' 'sqlite' 'hiredis' 'file' 'libfann' 'gd' 'icu')
-makedepends=('git' 'cmake' 'pkgconfig' 'ragel')
+depends=('openssl' 'libevent' 'glib2' 'gmime' 'luajit' 'sqlite' 'hiredis' 'file' 'icu')
+makedepends=('git' 'cmake' 'pkgconfig' 'ragel' 'ninja')
provides=("${pkgname[0]%-git}")
conflicts=("${pkgname[0]%-git}")
@@ -29,6 +29,7 @@ build() {
cd "${srcdir}/${_srcname}"
cmake \
+ -G Ninja \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCONFDIR='/etc/rspamd' \
-DRUNDIR='/run/rspamd' \
@@ -37,11 +38,11 @@ build() {
-DWANT_SYSTEMD_UNITS='ON' \
.
- make
+ cmake --build .
}
package() {
cd "${srcdir}/${_srcname}"
- make DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}/" cmake --build . --target install
}