1 # Contributor: Igor Brkic <igor at hyperglitch dot com>
2 # Maintainer: Igor Brkic <igor at hyperglitch dot com>
6 pkgdesc="Modular system for adding various keyboard driven actions to window manager."
8 url="http://hyperglitch.com/dev/rwma"
10 depends=('ruby>=1.8.7')
12 optdepends=('mechanize: Ruby gem necessary for EUdict plugin (gem install mechanize)')
13 source=(http://f.hyperglitch.com/rwma/$pkgname-$pkgver.tar.gz)
15 md5sums=('86ab601b64fc17a616aa19e0be0302c7')
17 cd "$srcdir/$pkgname-$pkgver" || return 1
18 mkdir -p $pkgdir/usr/share/rwma || return 1
19 mkdir -p $pkgdir/usr/bin || return 1
20 mkdir -p $pkgdir/usr/share/man/man1 || return 1
21 cp -r modules $pkgdir/usr/share/rwma/ || return 1
22 cp rwma $pkgdir/usr/bin/ || return 1
23 chmod a+x $pkgdir/usr/bin/rwma || return 1
24 cp rwma-command $pkgdir/usr/share/rwma/ || return 1
25 cp COPYING $pkgdir/usr/share/rwma/ || return 1
26 cp README $pkgdir/usr/share/rwma/ || return 1
27 cp rwma.yaml.sample $pkgdir/usr/share/rwma/ || return 1
28 cp rwma.1.gz $pkgdir/usr/share/man/man1/ || return 1
30 # vim:set ts=2 sw=2 et: