diff options
author | Aaron Bishop | 2023-07-24 12:26:37 -0400 |
---|---|---|
committer | Aaron Bishop | 2023-07-24 12:26:37 -0400 |
commit | e9964c147936211ffa091ffe01a2fd5c962454d6 (patch) | |
tree | 7aa09995b0d953da799458a19abd0e015c932fea | |
parent | 08d728375ec11bfaec7ff93e4a6b81f27c51dd48 (diff) | |
download | aur-fastcgi++-git.tar.gz |
Update to 3.0.r113
Use more modern cmake steps
Update pkgdesk for C++20
Update URL to reflect more up to date github
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 18 insertions, 26 deletions
@@ -1,14 +1,15 @@ pkgbase = fastcgi++-git - pkgdesc = This library is intended as a high-efficiency C++14 api for web development. - pkgver = 3.0.r88.g02ca540 + pkgdesc = This library is intended as a high-efficiency C++20 api for web development. + pkgver = 3.0.r113.gd70b53e pkgrel = 1 - url = https://fastcgipp.isatec.ca + url = https://github.com/eddic/fastcgipp arch = x86_64 license = LGPL + makedepends = cmake makedepends = git + provides = fastcgi++=3.0.r113.gd70b53e conflicts = fastcgi++ source = git+https://github.com/eddic/fastcgipp.git sha256sums = SKIP pkgname = fastcgi++-git - @@ -2,18 +2,18 @@ pkgname=fastcgi++-git _pkgname=fastcgipp -pkgver=3.0.r88.g02ca540 +pkgver=3.0.r113.gd70b53e pkgrel=1 -pkgdesc="This library is intended as a high-efficiency C++14 api for web development." +pkgdesc="This library is intended as a high-efficiency C++20 api for web development." arch=('x86_64') -url="https://fastcgipp.isatec.ca" -_url="https://github.com/eddic/fastcgipp" +url="https://github.com/eddic/fastcgipp" license=('LGPL') depends=() -makedepends=('git') +makedepends=('cmake' 'git') conflicts=('fastcgi++') +provides=("fastcgi++=${pkgver}") -source=("git+$_url.git") +source=("git+https://github.com/eddic/fastcgipp.git") sha256sums=('SKIP') @@ -22,27 +22,18 @@ pkgver() { git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } -prepare() { - rm -Rf build - mkdir build - cd build - cmake ../$_pkgname \ - -DCMAKE_BUILD_TYPE=RELEASE \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr -} - build() { - cd build - make + cmake -B build -S "${_pkgname}" \ + -DCMAKE_BUILD_TYPE=RELEASE \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -Wno-dev + cmake --build build } package() { - cd build - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" cmake --install build } test() { - cd build - make tests - make test + ctest --test-dir build } |