libcbor: use ninja
This commit is contained in:
parent
3da7d8feff
commit
df76c6b105
@ -3,18 +3,19 @@
|
|||||||
pkgbase=libcbor
|
pkgbase=libcbor
|
||||||
pkgname=("${pkgbase}" "${pkgbase}-devel")
|
pkgname=("${pkgbase}" "${pkgbase}-devel")
|
||||||
pkgver=0.11.0
|
pkgver=0.11.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A C library for parsing and generating CBOR, a general-purpose schema-less binary data format"
|
pkgdesc="A C library for parsing and generating CBOR, a general-purpose schema-less binary data format"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://github.com/PJK/libcbor"
|
url="https://github.com/PJK/libcbor"
|
||||||
license=('spdx:MIT')
|
license=('spdx:MIT')
|
||||||
makedepends=("cmake" "make" "gcc")
|
makedepends=("cmake" "ninja" "gcc")
|
||||||
source=(https://github.com/PJK/libcbor/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
source=(https://github.com/PJK/libcbor/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||||
sha256sums=('89e0a83d16993ce50651a7501355453f5250e8729dfc8d4a251a78ea23bb26d7')
|
sha256sums=('89e0a83d16993ce50651a7501355453f5250e8729dfc8d4a251a78ea23bb26d7')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd ${pkgname}-${pkgver}
|
||||||
cmake . \
|
cmake . \
|
||||||
|
-GNinja \
|
||||||
-Bbuild \
|
-Bbuild \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user