[arch-commits] Commit in ruby-minitest-global_expectations/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue May 12 23:51:34 UTC 2020


    Date: Tuesday, May 12, 2020 @ 23:51:33
  Author: anthraxx
Revision: 627267

upgpkg: ruby-minitest-global_expectations 1.0.1-2: drop test files

Modified:
  ruby-minitest-global_expectations/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 23:38:12 UTC (rev 627266)
+++ PKGBUILD	2020-05-12 23:51:33 UTC (rev 627267)
@@ -3,7 +3,7 @@
 _gemname=minitest-global_expectations
 pkgname=ruby-${_gemname}
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Support minitest expectation methods for all objects'
 url='https://github.com/jeremyevans/minitest-global_expectations'
 arch=('any')
@@ -17,7 +17,7 @@
 
 build() {
   cd ${_gemname}-${pkgver}
-  sed -r 's|~>|>=|g' -i ${_gemname}.gemspec
+  sed -r 's|~>|>=|g' -i ${_gemname}.gemspec Rakefile
   rake package
 }
 
@@ -35,7 +35,7 @@
   install -Dm 644 README.rdoc CHANGELOG -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -Dm 644 MIT-LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 
-  rm -r "${pkgdir}/${_gemdir}/cache"
+  rm -r "${pkgdir}/${_gemdir}/"{cache,gems/${_gemname}-${pkgver}/test}
 }
 
 # vim: ts=2 sw=2 et:


More information about the arch-commits mailing list