Date: Saturday, October 8, 2022 @ 18:12:09
Author: felixonmars
Revision: 1324415
archrelease: copy trunk to community-any
Added:
ruby-test-unit/repos/community-any/PKGBUILD
(from rev 1324414, ruby-test-unit/trunk/PKGBUILD)
Deleted:
ruby-test-unit/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-08 18:11:48 UTC (rev 1324414)
+++ PKGBUILD 2022-10-08 18:12:09 UTC (rev 1324415)
@@ -1,48 +0,0 @@
-# Maintainer: Tim Meusel <[email protected]>
-# Contributor: Felix Yan <[email protected]>
-# Contributor: Anatol Pomozov <[email protected]>
-# Contributor: Alfredo Palhares <[email protected]>
-# Contributor: Jochen Schalanda <[email protected]>
-
-_gemname=test-unit
-pkgname="ruby-${_gemname}"
-pkgver=3.5.4
-pkgrel=1
-pkgdesc='An xUnit family unit testing framework for Ruby'
-arch=('any')
-url="https://github.com/${_gemname}/${_gemname}"
-license=('GPL')
-depends=('ruby' 'ruby-power_assert')
-makedepends=('ruby-rdoc')
-options=('!emptydirs')
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('8b49f4ac8617ecc753dd9b09ac53624418be457aa8fad645f214ea82af335780b664d4449aa729cc0ee658c4d6c8e2862ff91c4f6ae384a7c3d5c3337b008586')
-
-# fix wrong license identifier to match the official ones from
https://spdx.org/licenses/
-prepare() {
- cd "${_gemname}-${pkgver}"
- sed --in-place 's/spec.licenses.*/spec.licenses = ["BSD-2-Clause",
"PSF-2.0", "Ruby"]/' "${_gemname}.gemspec"
-}
-
-build() {
- cd "${_gemname}-${pkgver}"
- gem build "${_gemname}.gemspec"
-}
-
-check() {
- cd "${_gemname}-${pkgver}"
- ruby test/run-test.rb
-}
-
-package() {
- cd "${_gemname}-${pkgver}"
- local _gemdir="$(gem env gemdir)"
- gem install --verbose --ignore-dependencies --no-user-install --install-dir
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
-
- rm -rf "${pkgdir}/${_gemdir}/cache"
-
- install -Dm 644 README.md doc/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 BSDL COPYING PSFL -t
"${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-test-unit/repos/community-any/PKGBUILD (from rev 1324414,
ruby-test-unit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-08 18:12:09 UTC (rev 1324415)
@@ -0,0 +1,48 @@
+# Maintainer: Tim Meusel <[email protected]>
+# Contributor: Felix Yan <[email protected]>
+# Contributor: Anatol Pomozov <[email protected]>
+# Contributor: Alfredo Palhares <[email protected]>
+# Contributor: Jochen Schalanda <[email protected]>
+
+_gemname=test-unit
+pkgname="ruby-${_gemname}"
+pkgver=3.5.5
+pkgrel=1
+pkgdesc='An xUnit family unit testing framework for Ruby'
+arch=('any')
+url="https://github.com/${_gemname}/${_gemname}"
+license=('GPL')
+depends=('ruby' 'ruby-power_assert')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('22f60c225ca951d76cfdc5b8c91246a56bf875daf6f03589da99a9860143bbad367c18533b00de3cc9cfd2f23a2b8139e617b9a76c2a63223ccdbcd9cb04db20')
+
+# fix wrong license identifier to match the official ones from
https://spdx.org/licenses/
+prepare() {
+ cd "${_gemname}-${pkgver}"
+ sed --in-place 's/spec.licenses.*/spec.licenses = ["BSD-2-Clause",
"PSF-2.0", "Ruby"]/' "${_gemname}.gemspec"
+}
+
+build() {
+ cd "${_gemname}-${pkgver}"
+ gem build "${_gemname}.gemspec"
+}
+
+check() {
+ cd "${_gemname}-${pkgver}"
+ ruby test/run-test.rb
+}
+
+package() {
+ cd "${_gemname}-${pkgver}"
+ local _gemdir="$(gem env gemdir)"
+ gem install --verbose --ignore-dependencies --no-user-install --install-dir
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+ rm -rf "${pkgdir}/${_gemdir}/cache"
+
+ install -Dm 644 README.md doc/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 BSDL COPYING PSFL -t
"${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et: