summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorF0x062016-10-31 12:05:59 +0100
committerF0x062016-10-31 12:05:59 +0100
commit45fc3115692462547c2c032112950069522c9802 (patch)
treecd75ede555b0e315370d161d99bf4d0f37ebb184
downloadaur-45fc3115692462547c2c032112950069522c9802.tar.gz
v0.1.2 initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD21
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..760608dca86
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ruby-fusuma
+ pkgdesc = Fusuma is multitouch gesture recognizer.
+ pkgver = 0.1.2
+ pkgrel = 1
+ url = https://github.com/iberianpig/fusuma
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = xdotool
+ noextract = fusuma-0.1.2.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/fusuma-0.1.2.gem
+ sha1sums = 5e076da0550891e4c5ae1c44d2300c831f574045
+
+pkgname = ruby-fusuma
+
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"
+}