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

Thore Bödecker foxxx0 at archlinux.org
Fri Jan 10 10:25:18 UTC 2020


    Date: Friday, January 10, 2020 @ 10:25:18
  Author: foxxx0
Revision: 551594

archrelease: copy trunk to community-any

Added:
  ruby-stomp/repos/community-any/PKGBUILD
    (from rev 551593, ruby-stomp/trunk/PKGBUILD)
Deleted:
  ruby-stomp/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  100 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 51 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-10 10:25:13 UTC (rev 551593)
+++ PKGBUILD	2020-01-10 10:25:18 UTC (rev 551594)
@@ -1,49 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-
-_gemname=stomp
-pkgname="ruby-${_gemname}"
-pkgver=1.4.8
-pkgrel=3
-pkgdesc='Ruby client for the Stomp messaging protocol'
-url='https://github.com/stompgem/stomp'
-arch=('any')
-license=('Apache')
-depends=('ruby')
-makedepends=('ruby-rake' 'ruby-rspec' 'ruby-bundler' 'ruby-rdoc' 'ruby-test-unit')
-options=('!emptydirs')
-source=("${url}/archive/v${pkgver}.tar.gz")
-sha512sums=('29fd8623bbda2038be6baad8a5e1edc9a866f01fa4f205d840ad346ed35364712af19a91a516636465d0446a9b08d8251053d3b5a3649521141f79b9b800cfc6')
-
-prepare() {
-  cd "${srcdir}/${_gemname}-${pkgver}"
-  :
-}
-
-build() {
-  cd "${srcdir}/${_gemname}-${pkgver}"
-  mkdir -p pkg
-  gem build -o "pkg/${_gemname}-${pkgver}.gem"
-}
-
-check() {
-  cd "${srcdir}/${_gemname}-${pkgver}"
-  # testsuite is broken and needs older versions of rspec / rspec-mocks
-  #rake test
-}
-
-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" \
-    "pkg/${_gemname}-${pkgver}.gem"
-
-  rm -rf "${pkgdir}/${_gemdir}/cache"
-}
-
-# vim: ts=2 sw=2 et:

Copied: ruby-stomp/repos/community-any/PKGBUILD (from rev 551593, ruby-stomp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-10 10:25:18 UTC (rev 551594)
@@ -0,0 +1,51 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+
+_gemname=stomp
+pkgname="ruby-${_gemname}"
+pkgver=1.4.8
+pkgrel=4
+pkgdesc='Ruby client for the Stomp messaging protocol'
+url='https://github.com/stompgem/stomp'
+arch=('any')
+license=('Apache')
+depends=('ruby')
+makedepends=('ruby-rake' 'ruby-rspec' 'ruby-bundler' 'ruby-rdoc' 'ruby-test-unit')
+options=('!emptydirs')
+source=("${_gemname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha512sums=('29fd8623bbda2038be6baad8a5e1edc9a866f01fa4f205d840ad346ed35364712af19a91a516636465d0446a9b08d8251053d3b5a3649521141f79b9b800cfc6')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  :
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  mkdir -p pkg
+  gem build -o "pkg/${_gemname}-${pkgver}.gem"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  # testsuite is broken and needs older versions of rspec / rspec-mocks
+  #rake test
+}
+
+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" \
+    "pkg/${_gemname}-${pkgver}.gem"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+
+  install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list