mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 01:07:15 +08:00
28 lines
721 B
Bash
28 lines
721 B
Bash
# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
|
|
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
|
|
|
|
pkgname=yajl
|
|
pkgver=1.0.9
|
|
pkgrel=3
|
|
pkgdesc="Yet Another JSON Library."
|
|
arch=('i686' 'x86_64')
|
|
url="http://lloyd.github.com/yajl/"
|
|
license=('BSD')
|
|
makedepends=('cmake' 'doxygen')
|
|
source=("http://cloud.github.com/downloads/lloyd/yajl/yajl-${pkgver}.tar.gz"
|
|
'LICENSE')
|
|
md5sums=('8643ff2fef762029e51c86882a4d0fc6'
|
|
'd5a84aca97d77c2c60cff59d62e6d4bf')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr .
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
install -Dm644 ${srcdir}/LICENSE \
|
|
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|