[arch-commits] Commit in ruby-ffi/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Mar 19 18:00:57 UTC 2021
Date: Friday, March 19, 2021 @ 18:00:57
Author: foutrelis
Revision: 894849
archrelease: copy trunk to community-staging-x86_64
Added:
ruby-ffi/repos/community-staging-x86_64/
ruby-ffi/repos/community-staging-x86_64/PKGBUILD
(from rev 894848, ruby-ffi/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: ruby-ffi/repos/community-staging-x86_64/PKGBUILD (from rev 894848, ruby-ffi/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-03-19 18:00:57 UTC (rev 894849)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Mario Finelli <mario at finel dot li>
+# Contributor: Artem Vorotnikov <artem at vorotnikov dot me>
+
+_gemname=ffi
+pkgname=ruby-$_gemname
+pkgver=1.15.0
+pkgrel=2
+pkgdesc='Ruby FFI'
+arch=('x86_64')
+url='https://github.com/ffi/ffi'
+license=('BSD')
+depends=('ruby')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
+noextract=($_gemname-$pkgver.gem)
+sha512sums=('cfcc629ad80f0c99fdadef1e766b42a60d2e71c822a9358a9c17edd35a665cca7ed145c36b961e9c6ed7634b95808985705c02c4436b0ce4a26f06f75f215b89')
+
+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"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list