summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorkulpae2015-11-02 22:00:52 +0100
committerkulpae2015-11-02 22:00:52 +0100
commitc2b907c079dc44875d05d9a76ed70db9e4b10c79 (patch)
tree677c34400ecdd83e6561a276277825ab69069b99 /PKGBUILD
downloadaur-ruby-gstreamer-3.0.7.tar.gz
fixed version of ruby-gstreamer (3.0.7)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..39b0421bf7d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: kulpae <my.shando@googlemail.com>
+
+_gemname=gstreamer
+pkgname=ruby-$_gemname-3.0.7
+pkgver=3.0.7
+pkgrel=1
+pkgdesc='Ruby/GStreamer is a Ruby binding for GStreamer.'
+arch=(i686 x86_64)
+url='http://ruby-gnome2.sourceforge.jp/'
+license=('LGPL2.1')
+depends=(ruby ruby-glib2-3.0.7 ruby-gobject-introspection-3.0.7 gstreamer)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('8152818f85acc764f70a8b32f2608de678c21614')
+
+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"
+}