summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..154681ddef0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Kevin Velickovic <kevin dot velickovic at gmail dot com>
+
+_gemname=fusuma
+pkgname=ruby-$_gemname
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="Fusuma is multitouch gesture recognizer."
+arch=(any)
+url="https://github.com/iberianpig/fusuma"
+license=(MIT)
+depends=(ruby xdotool)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('5e076da0550891e4c5ae1c44d2300c831f574045')
+
+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"
+}