summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9cb6d32a1f2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Artem Vorotnikov <artem@vorotnikov.me>
+
+_gemname=twitter-stream
+pkgname=ruby-$_gemname
+pkgver=0.1.16
+pkgrel=1
+pkgdesc='Twitter realtime API client'
+arch=(any)
+url='http://github.com/voloko/twitter-stream'
+license=()
+depends=(ruby ruby-eventmachine ruby-simple_oauth-0.1 ruby-http_parser.rb-0.5)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha512sums=('604ec4b22899d1c487681c8834d12b2683bc4e44cbe5dfb8d24249f3fd36fb62c201270997b5b7814e66f57e0ce3342de9f56a6fefa6731cb3bf9d4e9e713fdc')
+
+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"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}