summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 21862840f1ca09a6021d6df2cbd5496c8d8f30c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Generated by gem2arch (https://github.com/anatol/gem2arch)
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
# Contributor: James An <james@jamesan.ca>

_gemname=gstreamer
pkgname=ruby-$_gemname
pkgver=3.0.8
pkgrel=1
pkgdesc='A Ruby binding for GStreamer'
arch=('any')
url='http://ruby-gnome2.sourceforge.jp'
license=(LGPL)
depends=('ruby' 'ruby-glib2' 'ruby-gobject-introspection')
makedepends=('ruby-pkgconfig')
options=(!emptydirs)
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
md5sums=('0bab53c1e29ea2c47062be19f764de2f')
noextract=($_gemname-$pkgver.gem)

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"
}