[arch-commits] Commit in ruby-hitimes/repos (4 files)
Levente Polyak
anthraxx at archlinux.org
Sat Dec 31 23:58:24 UTC 2016
Date: Saturday, December 31, 2016 @ 23:58:23
Author: anthraxx
Revision: 203419
archrelease: copy trunk to community-i686, community-x86_64
Added:
ruby-hitimes/repos/community-i686/
ruby-hitimes/repos/community-i686/PKGBUILD
(from rev 203418, ruby-hitimes/trunk/PKGBUILD)
ruby-hitimes/repos/community-x86_64/
ruby-hitimes/repos/community-x86_64/PKGBUILD
(from rev 203418, ruby-hitimes/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
Copied: ruby-hitimes/repos/community-i686/PKGBUILD (from rev 203418, ruby-hitimes/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-12-31 23:58:23 UTC (rev 203419)
@@ -0,0 +1,33 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Olivier Biesmans <olivier at biesmans dot fr>
+
+_gemname=hitimes
+pkgname=ruby-${_gemname}
+pkgver=1.2.4
+pkgrel=2
+pkgdesc='Fast, high resolution timer library for recording performance metrics'
+url='https://github.com/copiousfreetime/hitimes'
+arch=('i686' 'x86_64')
+license=('ISC')
+depends=('ruby')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/copiousfreetime/hitimes/archive/v${pkgver}.tar.gz)
+sha512sums=('8d4c6ab8a56d8fee5e3968d07a344ec9407dcca2bf18847740f6a53a665980b387dbdf70d0cb5535254b231edacd686dd9aeb7e584e2c5217f616c2333fc1891')
+
+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 -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ cp -r examples "${pkgdir}/usr/share/doc/${pkgname}"
+ rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+ find "${pkgdir}/${_gemdir}" \( -name '*.log' -or -name 'gem_make.out' \) -delete
+}
+
+# vim: ts=2 sw=2 et:
Copied: ruby-hitimes/repos/community-x86_64/PKGBUILD (from rev 203418, ruby-hitimes/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-12-31 23:58:23 UTC (rev 203419)
@@ -0,0 +1,33 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Olivier Biesmans <olivier at biesmans dot fr>
+
+_gemname=hitimes
+pkgname=ruby-${_gemname}
+pkgver=1.2.4
+pkgrel=2
+pkgdesc='Fast, high resolution timer library for recording performance metrics'
+url='https://github.com/copiousfreetime/hitimes'
+arch=('i686' 'x86_64')
+license=('ISC')
+depends=('ruby')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/copiousfreetime/hitimes/archive/v${pkgver}.tar.gz)
+sha512sums=('8d4c6ab8a56d8fee5e3968d07a344ec9407dcca2bf18847740f6a53a665980b387dbdf70d0cb5535254b231edacd686dd9aeb7e584e2c5217f616c2333fc1891')
+
+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 -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ cp -r examples "${pkgdir}/usr/share/doc/${pkgname}"
+ rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+ find "${pkgdir}/${_gemdir}" \( -name '*.log' -or -name 'gem_make.out' \) -delete
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list