updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / ruby-fssm / PKGBUILD
blobfd8573d63496135ccc96cdf7847e72c31e20c70c
1 # Maintainer: Danny Navarro <j@dannynavarro.net>
3 pkgname=ruby-fssm
4 pkgver=0.2.8.1
5 pkgrel=1
6 pkgdesc="Filesystem event notification library"
7 arch=("any")
8 url="http://github.com/ttilley/fssm"
9 license=("MIT")
10 groups=()
11 depends=("ruby")
12 makedepends=("rubygems")
13 optdepends=()
14 provides=()
15 conflicts=()
16 replaces=()
17 backup=()
18 options=()
19 install=
20 source=("http://gems.rubyforge.org/gems/fssm-${pkgver}.gem" "LICENSE")
21 noextract=("fssm-${pkgver}.gem")
22 md5sums=('4d96122417e4efcf2304a8a9c1df64a3'
23          'f0c03289bbc800619a76420fa7ff2334')
25 build() {
26   cd $srcdir
27   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
28   gem install --ignore-dependencies -i "$pkgdir$_gemdir" fssm-$pkgver.gem \
29   -n "$pkgdir/usr/bin" || return 1
31   install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" || return 1
32   install -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE || return 1