[arch-commits] Commit in ruby-sinatra/repos/community-any (PKGBUILD PKGBUILD)
Tim Meusel
bastelfreak at archlinux.org
Wed Feb 24 20:03:51 UTC 2021
Date: Wednesday, February 24, 2021 @ 20:03:51
Author: bastelfreak
Revision: 871961
archrelease: copy trunk to community-any
Added:
ruby-sinatra/repos/community-any/PKGBUILD
(from rev 871960, ruby-sinatra/trunk/PKGBUILD)
Deleted:
ruby-sinatra/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-24 20:03:33 UTC (rev 871960)
+++ PKGBUILD 2021-02-24 20:03:51 UTC (rev 871961)
@@ -1,50 +0,0 @@
-# Maintainer: Tim Meusel <tim at bastelfreak.de>
-
-_gemname='sinatra'
-pkgname="ruby-${_gemname}"
-pkgver=2.1.0
-pkgrel=2
-pkgdesc='Classy web-development dressed in a DSL'
-arch=('any')
-url='https://github.com/sinatra/sinatra'
-license=('MIT')
-depends=('ruby' 'ruby-mustermann' 'ruby-rack' 'ruby-rack-protection' 'ruby-tilt')
-makedepends=('ruby-rake')
-checkdepends=('ruby-rspec' 'ruby-minitest' 'ruby-rack-test' 'ruby-activesupport' 'ruby-builder')
-options=('!emptydirs')
-source=("${url}/archive/v${pkgver}/${_gemname}-v${pkgver}.tar.gz")
-sha512sums=('7127593bd44a5648407631f05d5db04100db30ae862c37e22dc264025fe271336c25df3c47839e41ba200da98be6c7b985852cd53d494a8bbda90fe701a89fe0')
-
-prepare() {
- cd "${srcdir}/${_gemname}-${pkgver}"
- # allow latest dependencies
- sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
-}
-
-build() {
- cd "${srcdir}/${_gemname}-${pkgver}"
- gem build "${_gemname}.gemspec"
-}
-
-check() {
- cd "${srcdir}/${_gemname}-${pkgver}"
- # tests currently don't pass because a few tools are missing in our repo
- # cannot load such file -- coffee-script: skipping coffee tests
- # cannot load such file -- creole: skipping creole tests
- # cannot load such file -- erubi: skipping erubi tests
- # cannot load such file -- erubis: skipping erubis tests
- # cannot load such file -- haml: skipping haml tests
- #rake spec
-}
-
-package() {
-cd "${srcdir}/${_gemname}-${pkgver}"
- local _gemdir="$(gem env gemdir)"
- gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
-
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-
- install -Dm 644 README.md RELEASING.md README.zh.md README.ru.md README.pt-pt.md README.pt-br.md README.malayalam.md README.ko.md README.ja.md README.hu.md README.fr.md README.es.md README.de.md MAINTENANCE.md CONTRIBUTING.md CHANGELOG.md AUTHORS.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-
- rm -rf "${pkgdir}/${_gemdir}/cache"
-}
Copied: ruby-sinatra/repos/community-any/PKGBUILD (from rev 871960, ruby-sinatra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-24 20:03:51 UTC (rev 871961)
@@ -0,0 +1,50 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+
+_gemname='sinatra'
+pkgname="ruby-${_gemname}"
+pkgver=2.1.0
+pkgrel=2
+pkgdesc='Classy web-development dressed in a DSL'
+arch=('any')
+url='https://github.com/sinatra/sinatra'
+license=('MIT')
+depends=('ruby' 'ruby-mustermann' 'ruby-rack' 'ruby-rack-protection' 'ruby-tilt')
+makedepends=('ruby-rake')
+checkdepends=('ruby-rspec' 'ruby-minitest' 'ruby-rack-test' 'ruby-activesupport' 'ruby-builder')
+options=('!emptydirs')
+source=("${url}/archive/v${pkgver}/${_gemname}-v${pkgver}.tar.gz")
+sha512sums=('7127593bd44a5648407631f05d5db04100db30ae862c37e22dc264025fe271336c25df3c47839e41ba200da98be6c7b985852cd53d494a8bbda90fe701a89fe0')
+
+prepare() {
+ cd "${srcdir}/${_gemname}-${pkgver}"
+ # allow latest dependencies
+ sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
+}
+
+build() {
+ cd "${srcdir}/${_gemname}-${pkgver}"
+ gem build "${_gemname}.gemspec"
+}
+
+check() {
+ cd "${srcdir}/${_gemname}-${pkgver}"
+ # tests currently don't pass because a few tools are missing in our repo
+ # cannot load such file -- coffee-script: skipping coffee tests
+ # cannot load such file -- creole: skipping creole tests
+ # cannot load such file -- erubi: skipping erubi tests
+ # cannot load such file -- erubis: skipping erubis tests
+ # cannot load such file -- haml: skipping haml tests
+ #rake spec
+}
+
+package() {
+cd "${srcdir}/${_gemname}-${pkgver}"
+ local _gemdir="$(gem env gemdir)"
+ gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+ install -Dm 644 README.md RELEASING.md README.zh.md README.ru.md README.pt-pt.md README.pt-br.md README.malayalam.md README.ko.md README.ja.md README.hu.md README.fr.md README.es.md README.de.md MAINTENANCE.md CONTRIBUTING.md CHANGELOG.md AUTHORS.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+ rm -rf "${pkgdir}/${_gemdir}/cache"
+}
More information about the arch-commits
mailing list