diff options
author | Simon Wilper | 2017-02-18 21:15:52 +0100 |
---|---|---|
committer | Simon Wilper | 2017-02-18 21:15:52 +0100 |
commit | e86fe09c668a77ffb9491f6732c150b9b80f5482 (patch) | |
tree | 466422473aac3426cc0c612769c58cfccdb822e9 /PKGBUILD | |
parent | ef160b4ef368170ac8026f86d2386f9d60d7737a (diff) | |
download | aur-e86fe09c668a77ffb9491f6732c150b9b80f5482.tar.gz |
upgraded to 1.4.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 14 insertions, 29 deletions
@@ -1,45 +1,30 @@ -# Maintainer: Stefan Majewsky <majewsky@gmx.net> +# Maintainer: Simon Wilper <sxw@chronowerks.de> + pkgname=cutelyst -pkgver=0.5.0 +pkgver=1.4.0 pkgrel=1 -epoch= pkgdesc="A Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework." arch=('i686' 'x86_64') url="http://cutelyst.org" license=('LGPL2.1') -groups=() -depends=('qt5-base' 'uwsgi' 'grantlee-qt5') -# FIXME: no 'clearsilver' in depends=() because the clearsilver dependency is -# not picked up by cutelyst's build (looks like a problem with cutelyst's CMake -# scripts: it looks for libneo_cs.a which is not included in -# clearsilver.pkg.xz) +depends=('qt5-base' 'uwsgi') makedepends=('cmake') -checkdepends=() -optdepends=() -provides=() -conflicts=() -replaces=() -backup=() -options=() -install= -changelog= -source=("cutelyst::git+https://gitorious.org/cutelyst/cutelyst.git#tag=r${pkgver}") -noextract=() -md5sums=('SKIP') #generate with 'makepkg -g' - -pkgver() { - # The $pkgver is the correct version because we checked out exactly that tag. - echo $pkgver -} +source=("https://github.com/cutelyst/cutelyst/archive/r${pkgver}.tar.gz") +md5sums=('327a9cb263ad5a41e5d920b660e508b3') build() { - mkdir -p "$srcdir/$pkgname/build" - cd "$srcdir/$pkgname/build" + mkdir -p "$srcdir/${pkgname}-r${pkgver}/build" + cd "$srcdir/${pkgname}-r${pkgver}" + + # uwsgi expects plugins under lib/uwsgi not lib/uwsgi/plugins + sed -i.orig -E -e 's@(UWSGI_PLUGINS_DIR) ".+?" (.+)$@\1 "/usr/lib/uwsgi" \2@' CMakeLists.txt + + cd build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ".." make } package() { - cd "$srcdir/$pkgname/build" + cd "$srcdir/${pkgname}-r${pkgver}/build" make DESTDIR="$pkgdir/" install } |