[arch-commits] Commit in ruby-yard/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed Dec 13 20:56:55 UTC 2017
Date: Wednesday, December 13, 2017 @ 20:56:54
Author: anthraxx
Revision: 274300
archrelease: copy trunk to community-any
Added:
ruby-yard/repos/community-any/PKGBUILD
(from rev 274299, ruby-yard/trunk/PKGBUILD)
Deleted:
ruby-yard/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-13 20:56:47 UTC (rev 274299)
+++ PKGBUILD 2017-12-13 20:56:54 UTC (rev 274300)
@@ -1,38 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-
-_gemname=yard
-pkgname=ruby-yard
-pkgver=0.9.9
-pkgrel=3
-pkgdesc='YARD is a Ruby Documentation tool. The Y stands for "Yay!"'
-url='https://yardoc.org/'
-arch=('any')
-license=('MIT')
-depends=('ruby')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/lsegal/yard/archive/v${pkgver}.tar.gz)
-sha256sums=('e75485e980cfe3ae1de00541357c7b69851e1a3730b2b96462e433cd7358cd2c')
-sha512sums=('1ca970c9a1207fd12855659b98f3fc233bad76cc6afb8a7524d98c67b9190d0469173ab911cf813b6e7817e6c95da518fe4e285b72a48e09fd8ab12db84dfc98')
-
-prepare() {
- cd ${_gemname}-${pkgver}
- sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
-}
-
-build() {
- cd ${_gemname}-${pkgver}
- gem build ${_gemname}.gemspec
-}
-
-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}"
- rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-yard/repos/community-any/PKGBUILD (from rev 274299, ruby-yard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-13 20:56:54 UTC (rev 274300)
@@ -0,0 +1,38 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+
+_gemname=yard
+pkgname=ruby-yard
+pkgver=0.9.12
+pkgrel=1
+pkgdesc='YARD is a Ruby Documentation tool. The Y stands for "Yay!"'
+url='https://yardoc.org/'
+arch=('any')
+license=('MIT')
+depends=('ruby')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/lsegal/yard/archive/v${pkgver}.tar.gz)
+sha256sums=('ed1811e54645305559bd9e6c8ada7d5903ef39b00c156133e503f13938588c56')
+sha512sums=('f987da7e46bb3dafb9ba8c761b51345ee67102e21d05181c3090f31ff37179505134c93e83efdd39bb35cf6fe6dfa530d0017ce4680a08f858e78cbb073b239f')
+
+prepare() {
+ cd ${_gemname}-${pkgver}
+ sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
+}
+
+build() {
+ cd ${_gemname}-${pkgver}
+ gem build ${_gemname}.gemspec
+}
+
+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}"
+ rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list