[arch-commits] Commit in ruby-sqlite3/repos/community-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Mon Jul 29 20:38:12 UTC 2019


    Date: Monday, July 29, 2019 @ 20:38:12
  Author: anthraxx
Revision: 494681

archrelease: copy trunk to community-x86_64

Added:
  ruby-sqlite3/repos/community-x86_64/PKGBUILD
    (from rev 494680, ruby-sqlite3/trunk/PKGBUILD)
Deleted:
  ruby-sqlite3/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-29 20:38:07 UTC (rev 494680)
+++ PKGBUILD	2019-07-29 20:38:12 UTC (rev 494681)
@@ -1,48 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_gemname=sqlite3
-pkgname=ruby-${_gemname}
-pkgver=1.3.13
-pkgrel=3
-pkgdesc='Ruby bindings for the SQLite3 embedded database'
-url='http://github.com/luislavena/sqlite3-ruby'
-arch=('x86_64')
-license=('BSD')
-depends=('ruby' 'sqlite')
-options=('!emptydirs')
-makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rake-compiler' 'ruby-hoe' 'ruby-mini_portile' 'ruby-minitest')
-source=(https://github.com/sparklemotion/sqlite3-ruby/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz)
-sha256sums=('4ba98fec37d6828aaa68fc9779c20f124121f3965254b1bf1bc2fa3b1e7caa08')
-sha512sums=('7099ee6420af22d064cecd8c35e2275f958162bf088d03b00504cc6efd2cf5a720302b7c803a55e9e162432cf5d767ea3f6528b254e474ac0f7ff8a932cc8787')
-
-prepare() {
-  cd ${_gemname}-ruby-${pkgver}
-  sed 's|~>|>=|g' -i Gemfile
-}
-
-build() {
-  cd ${_gemname}-ruby-${pkgver}
-  rake compile
-  rake gem
-}
-
-check() {
-  cd ${_gemname}-ruby-${pkgver}
-  rake test
-}
-
-package() {
-  cd ${_gemname}-ruby-${pkgver}
-  local _gemdir="$(gem env gemdir)"
-  gem install --ignore-dependencies --no-user-install -i "${pkgdir}/${_gemdir}" \
-    -n "${pkgdir}/usr/bin" pkg/${_gemname}-${pkgver}.gem
-
-  install -Dm 644 README.rdoc CHANGELOG.rdoc API_CHANGES.rdoc -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  cd "${pkgdir}/${_gemdir}"
-  rm -r cache gems/${_gemname}-${pkgver}/{ext,lib/*/*.so} \
-    extensions/*/*/${_gemname}-${pkgver}/{mkmf.log,gem_make.out}
-}
-
-# vim: ts=2 sw=2 et:

Copied: ruby-sqlite3/repos/community-x86_64/PKGBUILD (from rev 494680, ruby-sqlite3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-29 20:38:12 UTC (rev 494681)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_gemname=sqlite3
+pkgname=ruby-${_gemname}
+pkgver=1.4.1
+pkgrel=1
+pkgdesc='Ruby bindings for the SQLite3 embedded database'
+url='http://github.com/luislavena/sqlite3-ruby'
+arch=('x86_64')
+license=('BSD')
+depends=('ruby' 'sqlite')
+options=('!emptydirs')
+makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rake-compiler' 'ruby-hoe' 'ruby-mini_portile' 'ruby-minitest')
+source=(https://github.com/sparklemotion/sqlite3-ruby/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz)
+sha256sums=('ec08220e1abffc7010a696e2c3ca1ee9970c730d200b555462acbaf4b0254bb9')
+sha512sums=('8be69da282c18385b753b223abe1a06603b06e9ad6c194ec5f6e94e187c91d939851711d89d482659a264dbd28e30c4cf3800cd3595d1ef1d91b965d97e501ea')
+
+prepare() {
+  cd ${_gemname}-ruby-${pkgver}
+  sed 's|~>|>=|g' -i Gemfile
+}
+
+build() {
+  cd ${_gemname}-ruby-${pkgver}
+  rake compile
+  rake gem
+}
+
+check() {
+  cd ${_gemname}-ruby-${pkgver}
+  rake test
+}
+
+package() {
+  cd ${_gemname}-ruby-${pkgver}
+  local _gemdir="$(gem env gemdir)"
+  gem install --ignore-dependencies --no-user-install -i "${pkgdir}/${_gemdir}" \
+    -n "${pkgdir}/usr/bin" pkg/${_gemname}-${pkgver}.gem
+
+  install -Dm 644 README.rdoc CHANGELOG.rdoc API_CHANGES.rdoc -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  cd "${pkgdir}/${_gemdir}"
+  rm -r cache gems/${_gemname}-${pkgver}/{ext,lib/*/*.so} \
+    extensions/*/*/${_gemname}-${pkgver}/{mkmf.log,gem_make.out}
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list