Date: Thursday, July 15, 2021 @ 17:14:32 Author: bastelfreak Revision: 977392
archrelease: copy trunk to community-testing-x86_64 Added: libwhereami/repos/community-testing-x86_64/PKGBUILD (from rev 977391, libwhereami/trunk/PKGBUILD) Deleted: libwhereami/repos/community-testing-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-15 17:14:28 UTC (rev 977391) +++ PKGBUILD 2021-07-15 17:14:32 UTC (rev 977392) @@ -1,45 +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.5.0 -pkgrel=7 -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=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('e9a0332f4ec0a2e6201cdf6212f2f1ced5a948e94aaa638c8d8a69f7306828b6168924775788b31316eecab59377a5ebd9310293e8e708e418c68fe47b248c13') - -build() { - cd ${pkgname}-${pkgver} - cmake \ - -B build \ - -DCMAKE_BUILD_TYPE=None \ - -DENABLE_CXX_WERROR=OFF \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DBUILD_SHARED_LIBS=ON - make -C build -} - -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 977391, libwhereami/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-15 17:14:32 UTC (rev 977392) @@ -0,0 +1,45 @@ +# 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.5.0 +pkgrel=8 +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=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('e9a0332f4ec0a2e6201cdf6212f2f1ced5a948e94aaa638c8d8a69f7306828b6168924775788b31316eecab59377a5ebd9310293e8e708e418c68fe47b248c13') + +build() { + cd ${pkgname}-${pkgver} + cmake \ + -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DENABLE_CXX_WERROR=OFF \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DBUILD_SHARED_LIBS=ON + make -C build +} + +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: