[arch-commits] Commit in ruby-thin/repos/community-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Jan 21 01:49:08 UTC 2021
Date: Thursday, January 21, 2021 @ 01:49:07
Author: anthraxx
Revision: 824065
archrelease: copy trunk to community-x86_64
Added:
ruby-thin/repos/community-x86_64/PKGBUILD
(from rev 824064, ruby-thin/trunk/PKGBUILD)
Deleted:
ruby-thin/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-21 01:49:04 UTC (rev 824064)
+++ PKGBUILD 2021-01-21 01:49:07 UTC (rev 824065)
@@ -1,37 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_gemname=thin
-pkgname=ruby-${_gemname}
-pkgver=1.7.2
-pkgrel=5
-pkgdesc='Thin and fast Ruby web server'
-url='https://github.com/macournoyer/thin'
-arch=('x86_64')
-license=('RUBY')
-depends=('glibc' 'ruby' 'ruby-rack' 'ruby-eventmachine' 'ruby-daemons')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/macournoyer/thin/archive/v${pkgver}.tar.gz)
-sha256sums=('667a78697331b917ad0f14974537c000c6e06d67a0d9b2a6592791adfed2c48f')
-sha512sums=('2c3c831eed4444d42fc88fc2c46e557284748b6b6bf331d6fd827073918cc3a869e5a60bf7db19ba82add28e07c8a8c92dac609a56cda82b41b37ddfb247e7bf')
-
-prepare() {
- cd ${_gemname}-${pkgver}
- 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 CHANGELOG -t "${pkgdir}/usr/share/doc/${pkgname}"
- cp -a example "${pkgdir}/usr/share/doc/${pkgname}"
- rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
- find "${pkgdir}/${_gemdir}" \( -name 'mkmf.log' -or -name 'gem_make.out' \) -delete
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-thin/repos/community-x86_64/PKGBUILD (from rev 824064, ruby-thin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-21 01:49:07 UTC (rev 824065)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=thin
+pkgname=ruby-${_gemname}
+pkgver=1.8.0
+pkgrel=1
+pkgdesc='Thin and fast Ruby web server'
+url='https://github.com/macournoyer/thin'
+arch=('x86_64')
+license=('RUBY')
+depends=('glibc' 'ruby' 'ruby-rack' 'ruby-eventmachine' 'ruby-daemons')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/macournoyer/thin/archive/v${pkgver}.tar.gz)
+sha512sums=('3166dbefcb4900a4cb839c8e3a36c5e27734980f8516547beb1732d446dd14e64b02936564cc5fe20b20c926185ca6a0114e6b246f038104a4891522e490d97f')
+b2sums=('d6e818d3d0c077ee54c8293e66f176e6c4d421af8fd906220371b84791bde8738aa252517582a52f898e0e6e8bc796deb1d31371ac1ebb0d56bfd40c31594175')
+
+prepare() {
+ cd ${_gemname}-${pkgver}
+ sed -r 's|~>|>=|g' -i ${_gemname}.gemspec
+}
+
+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 CHANGELOG -t "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -a example "${pkgdir}/usr/share/doc/${pkgname}"
+ rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+ find "${pkgdir}/${_gemdir}" \( -name 'mkmf.log' -or -name 'gem_make.out' \) -delete
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list