community/wt to 3.3.8-2

This commit is contained in:
Kevin Mihelich 2017-09-05 19:17:07 +00:00
parent aef45b7cd9
commit 9a4f64e43e

View file

@ -8,8 +8,7 @@
pkgname=wt
pkgver=3.3.8
_pkgver=3.3.7
pkgrel=1
pkgrel=2
pkgdesc="a C++ library and application server for developing and deploying web applications"
arch=('i686' 'x86_64')
url="http://www.webtoolkit.eu/"
@ -23,11 +22,11 @@ optdepends=('openssl: for SSL support in built-in webserver'
'mysql++: for the hangman example'
'qt4: for the Wt/Qt interopability example (wtwithqt)')
backup=('etc/wt/wt_config.xml')
source=("$pkgname-$pkgver.tar.gz::https://github.com/kdeforche/wt/archive/${_pkgver}.tar.gz")
sha512sums=('f179b42eedcfd2e61f26ef92c6aad40c55c76c9a688269c4d5bd55dd48381073d6269d9c2ab305f15ef455616d48183a3fc0ba08c740a8e18318a2ad2fb13826')
source=("$pkgname-$pkgver.tar.gz::https://github.com/kdeforche/wt/archive/${pkgver}.tar.gz")
sha512sums=('227bfa888ad53c9a22205d79de0111a286fd1f6a6fa46a1a8fb3795fdae45fc1cc19b95600585310cd10fee57e6355067f073c7ece72e68aa5656b512ec311ad')
build() {
cd "$srcdir"/${pkgname}-${_pkgver}
cd "$srcdir"/${pkgname}-${pkgver}
CFLAGS+=" -fsigned-char"
CXXFLAGS+=" -fsigned-char"
@ -37,7 +36,6 @@ build() {
cmake \
-DCONNECTOR_HTTP=ON \
-DWT_CPP_11_MODE=-std=c++11 \
-DCONFIGDIR=/etc \
-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWEBUSER=http \
@ -51,7 +49,7 @@ build() {
}
package() {
cd "$srcdir"/${pkgname}-${_pkgver}/build
cd "$srcdir"/${pkgname}-${pkgver}/build
make DESTDIR="$pkgdir" install
}