[arch-commits] Commit in ruby-msgpack/repos/community-x86_64 (PKGBUILD PKGBUILD)
Thore Bödecker
foxxx0 at gemini.archlinux.org
Sun Aug 28 09:45:42 UTC 2022
Date: Sunday, August 28, 2022 @ 09:45:41
Author: foxxx0
Revision: 1285038
archrelease: copy trunk to community-x86_64
Added:
ruby-msgpack/repos/community-x86_64/PKGBUILD
(from rev 1285037, ruby-msgpack/trunk/PKGBUILD)
Deleted:
ruby-msgpack/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-28 09:45:33 UTC (rev 1285037)
+++ PKGBUILD 2022-08-28 09:45:41 UTC (rev 1285038)
@@ -1,57 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Maintainer: Tim Meusel <tim at bastelfreak.de>
-
-_gemname=msgpack
-pkgname="ruby-${_gemname}"
-pkgver=1.5.4
-pkgrel=1
-pkgdesc='MessagePack implementation for Ruby'
-url='https://github.com/msgpack/msgpack-ruby'
-arch=('x86_64')
-license=('Apache')
-depends=('ruby')
-makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rake-compiler' 'ruby-yard' 'ruby-rspec' 'ruby-bundler' 'ruby-webrick')
-options=('!emptydirs')
-source=("${url}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
-sha256sums=('4270ac58b0905b9c5077f65d29754fe7e1055b2ce2f582f9f75ed90b50b23715')
-sha512sums=('e8e8448df13f60db4a2c1911c965d3f359613fae88eca301374a73ab44e09367c49d574403df8a5fa47d688526c8cfadffbe260c6dcd4086c68096a457be6b95')
-
-prepare() {
- cd "${_gemname}-ruby-${pkgver}"
- sed 's|git ls-files|find|' -i "${_gemname}.gemspec"
- sed 's|~>|>=|g' -i Gemfile
-}
-
-build() {
- cd "${_gemname}-ruby-${pkgver}"
- rake compile
- rake build
- rake clean
-}
-
-check() {
- cd "${_gemname}-ruby-${pkgver}"
- rake spec
-}
-
-package() {
- cd "${_gemname}-ruby-${pkgver}"
- local _gemdir="$(gem env gemdir)"
- gem install \
- --ignore-dependencies \
- --no-user-install \
- --install-dir "${pkgdir}/${_gemdir}" \
- --bindir "${pkgdir}/usr/bin" \
- "pkg/${_gemname}-${pkgver}.gem"
-
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-
- rm -rf "${pkgdir}/${_gemdir}/doc/${_gemname}-${pkgver}/ri/ext"
-
- cd "${pkgdir}/${_gemdir}"
- rm -r cache gems/"${_gemname}-${pkgver}"/{ext,tmp,lib/*/*.so} \
- extensions/*/*/"${_gemname}-${pkgver}"/{mkmf.log,gem_make.out}
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-msgpack/repos/community-x86_64/PKGBUILD (from rev 1285037, ruby-msgpack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-28 09:45:41 UTC (rev 1285038)
@@ -0,0 +1,57 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+
+_gemname=msgpack
+pkgname="ruby-${_gemname}"
+pkgver=1.5.6
+pkgrel=1
+pkgdesc='MessagePack implementation for Ruby'
+url='https://github.com/msgpack/msgpack-ruby'
+arch=('x86_64')
+license=('Apache')
+depends=('ruby')
+makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rake-compiler' 'ruby-yard' 'ruby-rspec' 'ruby-bundler' 'ruby-webrick')
+options=('!emptydirs')
+source=("${url}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
+sha256sums=('b6e616b786dc10daddcbdeb4d8c478799c234c1b04866d60695a522a49794bd6')
+sha512sums=('9d425fae115342711f4107478c43d165f771102b3069fa320e066533e7d080a2c0db9a1eb85278b45b62840836e05b4fea76154e038117461020227e58714183')
+
+prepare() {
+ cd "${_gemname}-ruby-${pkgver}"
+ sed 's|git ls-files|find|' -i "${_gemname}.gemspec"
+ sed 's|~>|>=|g' -i Gemfile
+}
+
+build() {
+ cd "${_gemname}-ruby-${pkgver}"
+ rake compile
+ rake build
+ rake clean
+}
+
+check() {
+ cd "${_gemname}-ruby-${pkgver}"
+ rake spec
+}
+
+package() {
+ cd "${_gemname}-ruby-${pkgver}"
+ local _gemdir="$(gem env gemdir)"
+ gem install \
+ --ignore-dependencies \
+ --no-user-install \
+ --install-dir "${pkgdir}/${_gemdir}" \
+ --bindir "${pkgdir}/usr/bin" \
+ "pkg/${_gemname}-${pkgver}.gem"
+
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+ rm -rf "${pkgdir}/${_gemdir}/doc/${_gemname}-${pkgver}/ri/ext"
+
+ cd "${pkgdir}/${_gemdir}"
+ rm -r cache gems/"${_gemname}-${pkgver}"/{ext,tmp,lib/*/*.so} \
+ extensions/*/*/"${_gemname}-${pkgver}"/{mkmf.log,gem_make.out}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list