[arch-commits] Commit in ruby-hoe/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sun Feb 3 20:18:11 UTC 2019
Date: Sunday, February 3, 2019 @ 20:18:11
Author: anthraxx
Revision: 429497
archrelease: copy trunk to community-any
Added:
ruby-hoe/repos/community-any/PKGBUILD
(from rev 429496, ruby-hoe/trunk/PKGBUILD)
Deleted:
ruby-hoe/repos/community-any/PKGBUILD
----------+
PKGBUILD | 79 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-03 20:18:03 UTC (rev 429496)
+++ PKGBUILD 2019-02-03 20:18:11 UTC (rev 429497)
@@ -1,39 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Bernhard Landauer <oberon at manjaro.org>
-# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
-
-_gemname=hoe
-pkgname=ruby-${_gemname}
-_gitcommit=a4cb51d8eaec7d7083cef7b3a83a024cb5a7b9c9
-pkgver=3.17.1
-pkgrel=1
-pkgdesc='Hoe is a rake/rubygems helper for project Rakefiles'
-url='https://www.zenspider.com/projects/hoe.html'
-arch=('any')
-license=('MIT')
-depends=('ruby')
-makedepends=('git' 'ruby-rdoc' 'ruby-rake')
-options=('!emptydirs')
-source=(git+https://github.com/seattlerb/hoe)
-sha512sums=('SKIP')
-
-pkgver() {
- cd ${_gemname}
- grep 'VERSION = "' lib/hoe.rb|sed -E 's|.*"(.+)"|\1|'
-}
-
-build() {
- cd ${_gemname}
- rake gem
-}
-
-package() {
- cd ${_gemname}
- local _gemdir="$(gem env gemdir)"
- gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" pkg/${_gemname}-${pkgver}.gem
- install -Dm 644 README.rdoc -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 README.rdoc -t "${pkgdir}/usr/share/licenses/${pkgname}"
- rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-hoe/repos/community-any/PKGBUILD (from rev 429496, ruby-hoe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-03 20:18:11 UTC (rev 429497)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bernhard Landauer <oberon at manjaro.org>
+# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+
+_gemname=hoe
+pkgname=ruby-${_gemname}
+_gitcommit=a4cb51d8eaec7d7083cef7b3a83a024cb5a7b9c9
+pkgver=3.17.1
+pkgrel=2
+pkgdesc='Hoe is a rake/rubygems helper for project Rakefiles'
+url='https://www.zenspider.com/projects/hoe.html'
+arch=('any')
+license=('MIT')
+depends=('ruby')
+makedepends=('git' 'ruby-rdoc' 'ruby-rake')
+options=('!emptydirs')
+source=("git+https://github.com/seattlerb/hoe#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd ${_gemname}
+ grep 'VERSION = "' lib/hoe.rb|sed -E 's|.*"(.+)"|\1|'
+}
+
+build() {
+ cd ${_gemname}
+ rake gem
+}
+
+package() {
+ cd ${_gemname}
+ local _gemdir="$(gem env gemdir)"
+ gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" \
+ -n "${pkgdir}/usr/bin" pkg/${_gemname}-${pkgver}.gem
+ install -Dm 644 README.rdoc -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 README.rdoc -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