summaryrefslogtreecommitdiff
path: root/pcr/ruby-libnotify/PKGBUILD
blob: ef4be93666f991100d6f648cc8179b0ff97039da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor (Arch): Luca Russo <vargolo@gmail.com>
# Contributor (Arch): Sigitas Mazaliauskas <sigisnn@gmail.com>
# Contributor (Arch): Andreas W. Hauser <andy-aur@splashground.de>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=ruby-libnotify
pkgver=0.8.0
pkgrel=1.1
pkgdesc="ruby bindings for libnotify, a library for desktop notifications"
arch=('i686' 'x86_64')
url="http://rubygems.org/downloads"
license=('LGPL')
depends=('ruby' 'libnotify' 'ruby-gtk2')
makedepends=('ruby-pkgconfig')
source=(http://rubygems.org/downloads/${pkgname}-${pkgver}.gem)
noextract=(${pkgname}-${pkgver}.gem)

package() {
  cd $srcdir
  local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"

  gem install --ignore-dependencies -i "$pkgdir$_gemdir" ${pkgname}-${pkgver}.gem
}