summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFederico Di Pierro2018-06-14 21:07:40 +0200
committerFederico Di Pierro2018-06-14 21:07:40 +0200
commite3100076df94d4b90ac6945c76117f3b8fb5a071 (patch)
tree3e04bb93098478c92b32eb9af2eb992c9744b1fd /PKGBUILD
parentf18568aeb04b7e06a637819ba4a599c20fd108aa (diff)
downloadaur-e3100076df94d4b90ac6945c76117f3b8fb5a071.tar.gz
Fixed submodule init.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6abd309f87e..56aa537c6d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,25 @@
pkgname=libulfius
_gitname=ulfius
pkgver=2.3.6
-pkgrel=2
+pkgrel=3
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')
makedepends=(git cmake)
-source=("${_gitname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=("dbf1c4f32768d41b6e45b844f32927b9ae8dbccfa2cc8c6607755a6ee105d9a6")
+source=("git://github.com/babelouest/${_gitname}.git")
+sha256sums=("SKIP")
prepare() {
- cd "${srcdir}/${_gitname}-${pkgver}"
- git init
+ cd "${srcdir}/${_gitname}"
+ git checkout tags/v${pkgver}
git submodule update --init
mkdir -p build
}
build() {
- cd "${srcdir}/${_gitname}-${pkgver}"/build
+ cd "${srcdir}/${_gitname}"/build
cmake \
-G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -32,6 +32,6 @@ build() {
}
package() {
- cd "${srcdir}/${_gitname}-${pkgver}"/build
+ cd "${srcdir}/${_gitname}"/build
make DESTDIR="$pkgdir" install
}