[arch-commits] Commit in ruby-cairo/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Dec 26 00:34:45 UTC 2019


    Date: Thursday, December 26, 2019 @ 00:34:44
  Author: felixonmars
Revision: 541642

archrelease: copy trunk to community-staging-x86_64

Added:
  ruby-cairo/repos/community-staging-x86_64/
  ruby-cairo/repos/community-staging-x86_64/PKGBUILD
    (from rev 541641, ruby-cairo/trunk/PKGBUILD)

----------+
 PKGBUILD |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Copied: ruby-cairo/repos/community-staging-x86_64/PKGBUILD (from rev 541641, ruby-cairo/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-12-26 00:34:44 UTC (rev 541642)
@@ -0,0 +1,24 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=cairo
+pkgname=ruby-$_gemname
+pkgver=1.16.4
+pkgrel=2
+pkgdesc='Ruby bindings for cairo'
+arch=('x86_64')
+url='https://cairographics.org/rcairo'
+license=('Ruby')
+depends=('ruby' 'cairo' 'ruby-pkg-config')
+makedepends=('ruby-native-package-installer' 'ruby-rdoc')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
+noextract=($_gemname-$pkgver.gem)
+sha512sums=('5af8536cd374255386fdc84b265deebb7ed21ef270538f0c2d6a5cdf3dcf1c913633f1ca813f197460968b20b6e592f24334b872cf822584d4de28c589160da8')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+  rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+  install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}


More information about the arch-commits mailing list