[arch-commits] Commit in leatherman/repos/community-x86_64 (PKGBUILD PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Thu Jul 12 10:03:52 UTC 2018


    Date: Thursday, July 12, 2018 @ 10:03:52
  Author: shibumi
Revision: 357641

archrelease: copy trunk to community-x86_64

Added:
  leatherman/repos/community-x86_64/PKGBUILD
    (from rev 357640, leatherman/trunk/PKGBUILD)
Deleted:
  leatherman/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 51 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-12 10:03:46 UTC (rev 357640)
+++ PKGBUILD	2018-07-12 10:03:52 UTC (rev 357641)
@@ -1,49 +0,0 @@
-# Maintainer: Jonathan Steel <jsteel at archlinux.org>
-
-pkgname=leatherman
-pkgver=1.4.0
-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)
-md5sums=('7de85c496ca0024d60df873e7ef1a462')
-
-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 357640, leatherman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-12 10:03:52 UTC (rev 357641)
@@ -0,0 +1,51 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
+
+pkgname=leatherman
+pkgver=1.4.1
+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=('71fa4723d231ffd6c582a332d6e57da8d1631d787ac7eeef55a505217b9d216ada11efc2636f2238c0272c30d943c61e1f391941f1c4531f911cce597062ffa6')
+
+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
+}
+
+ Disabled Tests due to infinite loop bug
+check() {
+  cd "${pkgname}-${pkgver}"
+
+  make test
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+
+  make install DESTDIR="${pkgdir}"
+
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
+}



More information about the arch-commits mailing list