Date: Monday, October 31, 2022 @ 23:34:27
  Author: felixonmars
Revision: 1340029

upgpkg: ruby-rubytest-cli 0.2.0-1

Modified:
  ruby-rubytest-cli/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-31 23:33:41 UTC (rev 1340028)
+++ PKGBUILD    2022-10-31 23:34:27 UTC (rev 1340029)
@@ -1,7 +1,9 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=ruby-rubytest-cli
-pkgver=0.1.0
+pkgver=0.2.0
+# https://github.com/rubyworks/rubytest-cli/issues/1
+_commit=f57b301b69e0b074ac58d18ec553566b258b758b
 pkgrel=1
 pkgdesc='Rubytest CLI is a command-line interface for running tests for 
Rubytest-based test frameworks'
 arch=(any)
@@ -9,12 +11,12 @@
 license=(BSD)
 depends=(ruby-ansi ruby-rubytest)
 options=(!emptydirs)
-source=(https://github.com/rubyworks/rubytest-cli/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('6ddfc284488d70f5aeefcded06880c963704a9affc3a5e9ffa968d03ce54fa94')
+source=(https://github.com/rubyworks/rubytest-cli/archive/$_commit/$pkgname-$_commit.tar.gz)
+sha256sums=('3bc1dff0a9677de6c9e85156820ab36719e484ab476af145abcef528697b902a')
 
 build() {
   local _gemdir="$(gem env gemdir)"
-  cd rubytest-cli-$pkgver
+  cd rubytest-cli-$_commit
   gem build .gemspec
   gem install \
     --local \
@@ -36,10 +38,12 @@
     \) \
     -delete
   rm -r tmp_install/$_gemdir/cache
+  mkdir -p tmp_install/usr/share/man
+  mv tmp_install/$_gemdir/gems/rubytest-cli-$pkgver/man 
tmp_install/usr/share/man/man1
 }
 
 package() {
-  cd rubytest-cli-$pkgver
+  cd rubytest-cli-$_commit
   cp -a tmp_install/* "$pkgdir"/
   install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to