Date: Thursday, March 28, 2019 @ 19:55:28 Author: shibumi Revision: 445611
archrelease: copy trunk to community-x86_64 Added: leatherman/repos/community-x86_64/PKGBUILD (from rev 445610, leatherman/trunk/PKGBUILD) Deleted: leatherman/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-03-28 19:55:17 UTC (rev 445610) +++ PKGBUILD 2019-03-28 19:55:28 UTC (rev 445611) @@ -1,50 +0,0 @@ -# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org> -# Contributor: Jonathan Steel <jsteel at archlinux.org> - -pkgname=leatherman -pkgver=1.5.3 -pkgrel=2 -pkgdesc="Collection of C++ and CMake utility libraries" -arch=('x86_64') -url="https://github.com/puppetlabs/leatherman" -license=('APACHE') -makedepends=('boost' 'cmake' 'rapidjson') -checkdepends=('ruby') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/puppetlabs/leatherman/archive/${pkgver}.tar.gz") -sha512sums=('e2616a42c6879755f338f9f0291bf28c7465d51caa3326be521ae3e0d5d79e82099c8720dc19223ad9112cde81c4579faf28a2b467f802baefc99dd59212b818') - -prepare() { - cd "${pkgname}-${pkgver}" - - # Ruby 2.3 fix: replace rb_data_object_alloc symbol with rb_data_object_wrap - sed -i 's/rb_data_object_alloc/rb_data_object_wrap/g' \ - $( grep -rl rb_data_object_alloc ruby ) -} - -build() { - cd "${pkgname}-${pkgver}" - - # Do not treat warnings as errors - CXXFLAGS+=' -Wno-error' - - # Work around hang in leatherman_test - CXXFLAGS+=' -fno-strict-overflow' - - cmake -DCMAKE_INSTALL_PREFIX=/usr - - make -} - -check() { - cd "${pkgname}-${pkgver}" - - make test -} - -package() { - cd "${pkgname}-${pkgver}" - - make install DESTDIR="${pkgdir}" - - install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE -} Copied: leatherman/repos/community-x86_64/PKGBUILD (from rev 445610, leatherman/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-28 19:55:28 UTC (rev 445611) @@ -0,0 +1,50 @@ +# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org> +# Contributor: Jonathan Steel <jsteel at archlinux.org> + +pkgname=leatherman +pkgver=1.6.0 +pkgrel=1 +pkgdesc="Collection of C++ and CMake utility libraries" +arch=('x86_64') +url="https://github.com/puppetlabs/leatherman" +license=('APACHE') +makedepends=('boost' 'cmake' 'rapidjson') +checkdepends=('ruby') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/puppetlabs/leatherman/archive/${pkgver}.tar.gz") +sha512sums=('d0d22b60db2c164183268d29fe1bc1ee9ed16797d38174849eaa74841f801869d038e5672664aae89517487811a70f689a345a2c87d3a2f0a04d55214e7f9eaa') + +prepare() { + cd "${pkgname}-${pkgver}" + + # Ruby 2.3 fix: replace rb_data_object_alloc symbol with rb_data_object_wrap + sed -i 's/rb_data_object_alloc/rb_data_object_wrap/g' \ + $( grep -rl rb_data_object_alloc ruby ) +} + +build() { + cd "${pkgname}-${pkgver}" + + # Do not treat warnings as errors + CXXFLAGS+=' -Wno-error' + + # Work around hang in leatherman_test + CXXFLAGS+=' -fno-strict-overflow' + + cmake -DCMAKE_INSTALL_PREFIX=/usr + + make +} + +check() { + cd "${pkgname}-${pkgver}" + + make test +} + +package() { + cd "${pkgname}-${pkgver}" + + make install DESTDIR="${pkgdir}" + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE +}