Skip to content
Snippets Groups Projects
Commit 7dfe2fc1 authored by Jonathan Steel's avatar Jonathan Steel
Browse files

New dependency of leatherman

parents
No related branches found
No related tags found
No related merge requests found
PKGBUILD 0 → 100644
# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Yunhui Fu <yhfudev@gmail.com>
pkgname=rapidjson
pkgver=1.1.0
pkgrel=1
pkgdesc="A fast JSON parser/generator for C++ with both SAX/DOM style API"
arch=('any')
url="https://github.com/miloyip/rapidjson"
license=('GPL')
makedepends=('gcc' 'cmake')
source=($pkgname-$pkgver.tar.gz::https://github.com/miloyip/$pkgname/archive/v$pkgver.tar.gz)
md5sums=('a3e0d043ad3c2d7638ffefa3beb30a77c71c869f')
build () {
cd $pkgname-$pkgver
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
}
package() {
cd $pkgname-$pkgver/build
DESTDIR="$pkgdir" make install
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment