[arch-commits] Commit in ruby-pathutil/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed Dec 13 20:55:35 UTC 2017
Date: Wednesday, December 13, 2017 @ 20:55:34
Author: anthraxx
Revision: 274298
archrelease: copy trunk to community-any
Added:
ruby-pathutil/repos/community-any/PKGBUILD
(from rev 274297, ruby-pathutil/trunk/PKGBUILD)
Deleted:
ruby-pathutil/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-13 20:55:26 UTC (rev 274297)
+++ PKGBUILD 2017-12-13 20:55:34 UTC (rev 274298)
@@ -1,37 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_gemname=pathutil
-pkgname=ruby-pathutil
-pkgver=0.16.0
-pkgrel=1
-pkgdesc='Faster pure Ruby implementation of Pathname with extra bits'
-url='https://github.com/envygeeks/pathutil'
-arch=('any')
-license=('MIT')
-depends=('ruby' 'ruby-forwardable-extended')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/envygeeks/pathutil/archive/v${pkgver}.tar.gz)
-sha256sums=('4f6197f29bc0cd688c245eb6d59664aa8782768fa9a7b896b0652d30281df586')
-sha512sums=('459c33d858973aeefe00020283ec4a30bff7ad1c55866dd60123850ca2ca097eda9941c35ce485bfa13eec922c9053e465a2feac59a0f07ba20ae9f9051e359f')
-
-prepare() {
- cd ${_gemname}-${pkgver}
- mv Gem.gemspec ${_gemname}.gemspec
- 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 -t "${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-pathutil/repos/community-any/PKGBUILD (from rev 274297, ruby-pathutil/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-13 20:55:34 UTC (rev 274298)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=pathutil
+pkgname=ruby-pathutil
+pkgver=0.16.1
+pkgrel=1
+pkgdesc='Faster pure Ruby implementation of Pathname with extra bits'
+url='https://github.com/envygeeks/pathutil'
+arch=('any')
+license=('MIT')
+depends=('ruby' 'ruby-forwardable-extended')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/envygeeks/pathutil/archive/v${pkgver}.tar.gz)
+sha256sums=('6dec5d820dac6d70224176014704883dc99252a1bef980fef014078fdaf7c426')
+sha512sums=('bd6b2402d12cdceefacde92cb38a67c03a73bdfd9e5823255eef348c571f1347a5febe0cd6a89cf3e78028cee9ca176f8ff192b85e0a52d752319287dcdb6998')
+
+prepare() {
+ cd ${_gemname}-${pkgver}
+ mv Gem.gemspec ${_gemname}.gemspec
+ 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 -t "${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