[arch-commits] Commit in ruby-yard/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Aug 3 18:51:53 UTC 2022
Date: Wednesday, August 3, 2022 @ 18:51:53
Author: arojas
Revision: 1260135
archrelease: copy trunk to community-any
Added:
ruby-yard/repos/community-any/PKGBUILD
(from rev 1260134, ruby-yard/trunk/PKGBUILD)
Deleted:
ruby-yard/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-03 18:51:45 UTC (rev 1260134)
+++ PKGBUILD 2022-08-03 18:51:53 UTC (rev 1260135)
@@ -1,44 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Jerome Leclanche <jerome at leclan.ch>
-
-_gemname=yard
-pkgname=ruby-${_gemname}
-pkgver=0.9.26
-pkgrel=2
-pkgdesc='YARD is a Ruby Documentation tool. The Y stands for "Yay!"'
-url='https://yardoc.org/'
-arch=('any')
-license=('MIT')
-depends=('ruby' 'ruby-rdoc')
-makedepends=('ruby-rake' 'ruby-samus')
-options=('!emptydirs')
-source=(https://github.com/lsegal/yard/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('0f70a089d5e5ba33e326b0ae0cc84a2cacfc5a3f3080545d5fc5bb324dedbbbf65116cc9412b3496c09b2b6c15514e854a741a1fd7e2ae782804d6e4ac28fcd9')
-b2sums=('19baaefc54269bbc7eee053b42f2be85644a062cbf55b0fafb63748876aad3a3143767855f4ee7b10a1ae814110a6cf63c01e4055e054aeb31bf8512e793d80d')
-
-prepare() {
- cd ${_gemname}-${pkgver}
- sed -r 's|~>|>=|g' -i ${_gemname}.gemspec
- sed 's|git ls-files|find|' -i ${_gemname}.gemspec
-}
-
-build() {
- cd ${_gemname}-${pkgver}
- rake gem
-}
-
-package() {
- cd ${_gemname}-${pkgver}
- local _gemdir="$(gem env gemdir)"
- gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" \
- -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
- install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- cp -a docs/* "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-
- cd "${pkgdir}/${_gemdir}"
- rm -rf cache gems/${_gemname}-${pkgver}/{ext,lib/*/*.so,man} \
- extensions/*/*/${_gemname}-${pkgver}/{mkmf.log,gem_make.out}
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-yard/repos/community-any/PKGBUILD (from rev 1260134, ruby-yard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-03 18:51:53 UTC (rev 1260135)
@@ -0,0 +1,44 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Jerome Leclanche <jerome at leclan.ch>
+
+_gemname=yard
+pkgname=ruby-${_gemname}
+pkgver=0.9.28
+pkgrel=1
+pkgdesc='YARD is a Ruby Documentation tool. The Y stands for "Yay!"'
+url='https://yardoc.org/'
+arch=('any')
+license=('MIT')
+depends=('ruby' 'ruby-rdoc')
+makedepends=('ruby-rake' 'ruby-samus')
+options=('!emptydirs')
+source=(https://github.com/lsegal/yard/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('f57ce1f63ab1763729c85121cf1ac5927d4f7c53eed2fb58b1ea7d700db22481e767926845558d3db31bcef50d0181f0b6cf449e558a5548243256cdda0cd355')
+b2sums=('7340f6815698ddb85aa16752266af75ecd3e1f1a5f328e147dd8ea01a750c48259e6f3413bb5d00777d4e983b340b36b21110e058cf6b326973c0a7c3d756836')
+
+prepare() {
+ cd ${_gemname}-${pkgver}
+ sed -r 's|~>|>=|g' -i ${_gemname}.gemspec
+ sed 's|git ls-files|find|' -i ${_gemname}.gemspec
+}
+
+build() {
+ cd ${_gemname}-${pkgver}
+ rake gem
+}
+
+package() {
+ cd ${_gemname}-${pkgver}
+ local _gemdir="$(gem env gemdir)"
+ gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" \
+ -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
+ install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -a docs/* "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+ cd "${pkgdir}/${_gemdir}"
+ rm -rf cache gems/${_gemname}-${pkgver}/{ext,lib/*/*.so,man} \
+ extensions/*/*/${_gemname}-${pkgver}/{mkmf.log,gem_make.out}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list