summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Vorotnikov2015-06-14 04:31:30 +0300
committerArtem Vorotnikov2015-06-14 04:31:30 +0300
commit623db5a90cb094014575ff0df8aacec662d3982c (patch)
treef9047b330a7dc0e80c7d0c7bd9c5696bbfff613c
downloadaur-ruby-twitter-stream.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD23
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..98165b1662a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = ruby-twitter-stream
+ pkgdesc = Twitter realtime API client
+ pkgver = 0.1.16
+ pkgrel = 1
+ url = http://github.com/voloko/twitter-stream
+ arch = any
+ depends = ruby
+ depends = ruby-eventmachine
+ depends = ruby-simple_oauth-0.1
+ depends = ruby-http_parser.rb-0.5
+ noextract = twitter-stream-0.1.16.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/twitter-stream-0.1.16.gem
+ sha512sums = 604ec4b22899d1c487681c8834d12b2683bc4e44cbe5dfb8d24249f3fd36fb62c201270997b5b7814e66f57e0ce3342de9f56a6fefa6731cb3bf9d4e9e713fdc
+
+pkgname = ruby-twitter-stream
+
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"
+}