Date: Friday, May 29, 2015 @ 14:06:45 Author: arojas Revision: 239879
archrelease: copy trunk to testing-i686, testing-x86_64 Added: jsoncpp/repos/testing-i686/ jsoncpp/repos/testing-i686/PKGBUILD (from rev 239878, jsoncpp/trunk/PKGBUILD) jsoncpp/repos/testing-x86_64/ jsoncpp/repos/testing-x86_64/PKGBUILD (from rev 239878, jsoncpp/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) Copied: jsoncpp/repos/testing-i686/PKGBUILD (from rev 239878, jsoncpp/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-05-29 12:06:45 UTC (rev 239879) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> +# Contributor: Jonahtan Schaeffer <joschaef...@gmail.com> +# COntributor: Drake Arconis <lightdr...@gmail.com> + +pkgname=jsoncpp +pkgver=1.6.2 +pkgrel=1 +pkgdesc='A C++ library for interacting with JSON' +url='https://github.com/open-source-parsers/jsoncpp' +license=('MIT' 'custom:Public_Domain') +arch=('i686' 'x86_64') +depends=('gcc-libs') +makedepends=('cmake') +source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/open-source-parsers/${pkgname}/archive/${pkgver}.tar.gz") +md5sums=('5a62da8b5c5b0e46a0e782e7363aee3d') + +prepare() { + mkdir build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DJSONCPP_LIB_BUILD_SHARED=ON \ + -DJSONCPP_WITH_TESTS=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install + + install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE \ + "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + Copied: jsoncpp/repos/testing-x86_64/PKGBUILD (from rev 239878, jsoncpp/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-05-29 12:06:45 UTC (rev 239879) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> +# Contributor: Jonahtan Schaeffer <joschaef...@gmail.com> +# COntributor: Drake Arconis <lightdr...@gmail.com> + +pkgname=jsoncpp +pkgver=1.6.2 +pkgrel=1 +pkgdesc='A C++ library for interacting with JSON' +url='https://github.com/open-source-parsers/jsoncpp' +license=('MIT' 'custom:Public_Domain') +arch=('i686' 'x86_64') +depends=('gcc-libs') +makedepends=('cmake') +source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/open-source-parsers/${pkgname}/archive/${pkgver}.tar.gz") +md5sums=('5a62da8b5c5b0e46a0e782e7363aee3d') + +prepare() { + mkdir build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DJSONCPP_LIB_BUILD_SHARED=ON \ + -DJSONCPP_WITH_TESTS=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install + + install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE \ + "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} +