Date: Monday, October 31, 2022 @ 23:27:01 Author: felixonmars Revision: 1340021
upgpkg: ruby-rubytest 0.8.1-1 Modified: ruby-rubytest/trunk/PKGBUILD ----------+ PKGBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-10-31 23:25:10 UTC (rev 1340020) +++ PKGBUILD 2022-10-31 23:27:01 UTC (rev 1340021) @@ -1,7 +1,9 @@ # Maintainer: Felix Yan <[email protected]> pkgname=ruby-rubytest -pkgver=0.7.0 +pkgver=0.8.1 +# https://github.com/rubyworks/rubytest/issues/7 +_commit=39e02662650f2954a7ae7198ac5ea2dc5a7410ce pkgrel=1 pkgdesc='Core API for Ruby Universal Test Harness' arch=(any) @@ -10,12 +12,12 @@ depends=(ruby) checkdepends=(ruby-ae ruby-qed) options=(!emptydirs) -source=(https://github.com/rubyworks/rubytest/archive/$pkgver/$pkgname-$pkgver.tar.gz) -sha256sums=('17127f1e80f58bc6538e193453c0e618f39b4c0929aef283eaabacfb6410c794') +source=(https://github.com/rubyworks/rubytest/archive/$_commit/$pkgname-$_commit.tar.gz) +sha256sums=('58130e9c6c9f7c5bb0659fdf385743bb6741233a95bed574a22f499fddca7667') build() { local _gemdir="$(gem env gemdir)" - cd rubytest-$pkgver + cd rubytest-$_commit gem build .gemspec gem install \ --local \ @@ -41,12 +43,12 @@ check() { local _gemdir="$(gem env gemdir)" - cd rubytest-$pkgver + cd rubytest-$_commit GEM_HOME="tmp_install/$_gemdir" qed -Ilib } package() { - cd rubytest-$pkgver + cd rubytest-$_commit cp -a tmp_install/* "$pkgdir"/ install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/ }
