Date: Saturday, October 5, 2019 @ 09:57:22 Author: foutrelis Revision: 512902
archrelease: copy trunk to community-testing-x86_64 Added: libwhereami/repos/community-testing-x86_64/PKGBUILD (from rev 512901, libwhereami/trunk/PKGBUILD) Deleted: libwhereami/repos/community-testing-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-10-05 09:57:15 UTC (rev 512901) +++ PKGBUILD 2019-10-05 09:57:22 UTC (rev 512902) @@ -1,49 +0,0 @@ -# Maintainer: Thore Bödecker <fox...@archlinux.org> -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Tim Meusel <t...@bastelfreak.de> - -pkgname=libwhereami -pkgver=0.3.0 -pkgrel=2 -pkgdesc='Library to report hypervisor information from inside a VM' -arch=('x86_64') -url='https://github.com/puppetlabs/libwhereami' -license=('APACHE') -depends=('boost-libs' 'gcc-libs' 'glibc' 'leatherman' 'leatherman_execution.so' - 'leatherman_file_util.so' 'leatherman_util.so' 'leatherman_logging.so' - 'leatherman_locale.so') -makedepends=('boost' 'cmake' 'rapidjson' 'curl') -checkdepends=('python') -provides=('libwhereami.so') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha512sums=('6ba398b7c2889d41757e5cc77be1e6b86c3ad3cec59432adb5debb39d37ee1b01aa12871944d27c5af7e5abff9f1b8e59d43f16730b91fb39212ec83967cc2c8') - -build() { - cd ${pkgname}-${pkgver} - - mkdir -p build - cd build - - cmake \ - -DCMAKE_BUILD_TYPE=None \ - -DENABLE_CXX_WERROR=OFF \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DBUILD_SHARED_LIBS=ON \ - .. - make -} - -check() { - cd ${pkgname}-${pkgver}/build - make test -} - -package() { - cd ${pkgname}-${pkgver} - - make -C build DESTDIR="${pkgdir}" install - install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: libwhereami/repos/community-testing-x86_64/PKGBUILD (from rev 512901, libwhereami/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-10-05 09:57:22 UTC (rev 512902) @@ -0,0 +1,49 @@ +# Maintainer: Thore Bödecker <fox...@archlinux.org> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Tim Meusel <t...@bastelfreak.de> + +pkgname=libwhereami +pkgver=0.3.0 +pkgrel=3 +pkgdesc='Library to report hypervisor information from inside a VM' +arch=('x86_64') +url='https://github.com/puppetlabs/libwhereami' +license=('APACHE') +depends=('boost-libs' 'gcc-libs' 'glibc' 'leatherman' 'leatherman_execution.so' + 'leatherman_file_util.so' 'leatherman_util.so' 'leatherman_logging.so' + 'leatherman_locale.so') +makedepends=('boost' 'cmake' 'rapidjson' 'curl') +checkdepends=('python') +provides=('libwhereami.so') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha512sums=('6ba398b7c2889d41757e5cc77be1e6b86c3ad3cec59432adb5debb39d37ee1b01aa12871944d27c5af7e5abff9f1b8e59d43f16730b91fb39212ec83967cc2c8') + +build() { + cd ${pkgname}-${pkgver} + + mkdir -p build + cd build + + cmake \ + -DCMAKE_BUILD_TYPE=None \ + -DENABLE_CXX_WERROR=OFF \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DBUILD_SHARED_LIBS=ON \ + .. + make +} + +check() { + cd ${pkgname}-${pkgver}/build + make test +} + +package() { + cd ${pkgname}-${pkgver} + + make -C build DESTDIR="${pkgdir}" install + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim: ts=2 sw=2 et: