summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Owens2020-04-28 21:16:42 -0500
committerNathan Owens2020-04-28 21:16:42 -0500
commit2da1058b90c2b48eb226dd173b4dd447596583b9 (patch)
tree82a7beef5c510636698365ca5d875eb05f3fe08b
parent2fe3d287a193a2299f19cf9458d22828543b86d4 (diff)
downloadaur-2da1058b90c2b48eb226dd173b4dd447596583b9.tar.gz
Update
-rw-r--r--PKGBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 19ec8dbedf0..113ed306452 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,34 @@
# Maintainer: Federico Di Pierro <nierro92@gmail.com>
-
+# Maintainer: Nathan Owens <ndowens @ artixlinux.org>
pkgname=libulfius
_gitname=ulfius
-pkgver=2.5.2
+pkgver=2.6.6
pkgrel=1
pkgdesc="HTTP Framework for REST API in C, using JSON, with websockets and streaming data"
arch=(x86_64)
url="https://github.com/babelouest/${_gitname}"
license=(GPL)
-depends=('libmicrohttpd' 'jansson' 'curl' 'gnutls' 'libgcrypt' 'liborcania' 'libyder')
-makedepends=(git cmake)
-source=("${_gitname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=("5cd56cb769d1f67e95559c5f1633b5bc86f8ebee374f0083b3e22dbf0ead864b")
+depends=('libmicrohttpd' 'jansson' 'curl' 'gnutls' 'libgcrypt' 'libyder')
+makedepends=('git' 'cmake')
+source=("git+https://github.com/babelouest.git#tag=v${pkgver}.tar.gz")
+sha256sums=('SKIP')
prepare() {
- cd "${srcdir}/${_gitname}-${pkgver}"
+ cd "${srcdir}/${_gitname}"
mkdir -p build
}
build() {
- cd "${srcdir}/${_gitname}-${pkgver}"/build
- cmake \
+ cd "${srcdir}/${_gitname}"
+ cmake -B build \
-G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_BUILD_TYPE="Release" \
- ../
- make
+ -DCMAKE_BUILD_TYPE="Release"
+ make -C build
}
package() {
- cd "${srcdir}/${_gitname}-${pkgver}"/build
- make DESTDIR="$pkgdir" install
+ cd "${srcdir}/${_gitname}"
+ make-C build DESTDIR="$pkgdir" install
}