[arch-commits] Commit in ruby-rack-protection/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Wed Mar 7 21:33:29 UTC 2018


    Date: Wednesday, March 7, 2018 @ 21:33:28
  Author: anthraxx
Revision: 304149

archrelease: copy trunk to community-any

Added:
  ruby-rack-protection/repos/community-any/PKGBUILD
    (from rev 304148, ruby-rack-protection/trunk/PKGBUILD)
Deleted:
  ruby-rack-protection/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-07 21:33:21 UTC (rev 304148)
+++ PKGBUILD	2018-03-07 21:33:28 UTC (rev 304149)
@@ -1,36 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_gemname=rack-protection
-pkgname=ruby-${_gemname}
-pkgver=2.0.0
-pkgrel=2
-pkgdesc='Protect against typical web attacks, works with all Rack apps, including Rails'
-url='https://github.com/sinatra/sinatra/blob/master/rack-protection'
-arch=('any')
-license=('MIT')
-depends=('ruby' 'ruby-rack')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sinatra/sinatra/archive/v${pkgver}.tar.gz)
-sha256sums=('8e9483b7dede0468128af227381cbf13acd974f8987a09013a584ee6d0a7d65b')
-sha512sums=('54c736fc6f63bb55ad36b4005335cc5709da9da8c2a29e13218e9f4494f07167077a2ec22dfb08f0bfaf0d4f872ec4d561adb636f7392f148da2ce0ea5a24084')
-
-prepare() {
-  cd sinatra-${pkgver}/${_gemname}
-  sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
-}
-
-build() {
-  cd sinatra-${pkgver}/${_gemname}
-  gem build ${_gemname}.gemspec
-}
-
-package() {
-  cd sinatra-${pkgver}/${_gemname}
-  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-rack-protection/repos/community-any/PKGBUILD (from rev 304148, ruby-rack-protection/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-07 21:33:28 UTC (rev 304149)
@@ -0,0 +1,36 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=rack-protection
+pkgname=ruby-${_gemname}
+pkgver=2.0.1
+pkgrel=1
+pkgdesc='Protect against typical web attacks, works with all Rack apps, including Rails'
+url='https://github.com/sinatra/sinatra/blob/master/rack-protection'
+arch=('any')
+license=('MIT')
+depends=('ruby' 'ruby-rack')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sinatra/sinatra/archive/v${pkgver}.tar.gz)
+sha256sums=('f354286833680457d373cc28e52b423dda88b37c9dee2a8eac3510deec8680cc')
+sha512sums=('ad897f39bfacfe76ca1997082e6104e545554ae04b11b7e75eabcafe47f77c3f24f2267f18940a5ae8f02b6372917a0ec7baadb76e349c274c57fcd6db1b8b2d')
+
+prepare() {
+  cd sinatra-${pkgver}/${_gemname}
+  sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
+}
+
+build() {
+  cd sinatra-${pkgver}/${_gemname}
+  gem build ${_gemname}.gemspec
+}
+
+package() {
+  cd sinatra-${pkgver}/${_gemname}
+  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