summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Vorotnikov2015-06-14 03:50:30 +0300
committerArtem Vorotnikov2015-06-14 03:50:30 +0300
commitcf5ec1ca64008dc8620b6dc774239fab9d3a352e (patch)
tree72a229f8d526dbd718436eb516998eb061ffdf95
downloadaur-cf5ec1ca64008dc8620b6dc774239fab9d3a352e.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD23
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..093a3f7c63a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = ruby-padrino-helpers
+ pkgdesc = Helpers for padrino
+ pkgver = 0.12.5
+ pkgrel = 1
+ url = http://www.padrinorb.com
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = ruby-padrino-support
+ depends = ruby-tilt-1
+ depends = ruby-i18n
+ noextract = padrino-helpers-0.12.5.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/padrino-helpers-0.12.5.gem
+ sha512sums = 62ffe0df870ecbf4e7c4a9b69c668558c9c480fb4a54de9c83b441f8d7890f1b1b3e0a308bcbee15a805ab92922ddba4b3c7d71a11d2b367628c31f32fece933
+
+pkgname = ruby-padrino-helpers
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..79f5c0c61f3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Artem Vorotnikov <artem@vorotnikov.me>
+
+_gemname=padrino-helpers
+pkgname=ruby-$_gemname
+pkgver=0.12.5
+pkgrel=1
+pkgdesc='Helpers for padrino'
+arch=(any)
+url='http://www.padrinorb.com'
+license=(MIT)
+depends=(ruby ruby-padrino-support ruby-tilt-1 ruby-i18n)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha512sums=('62ffe0df870ecbf4e7c4a9b69c668558c9c480fb4a54de9c83b441f8d7890f1b1b3e0a308bcbee15a805ab92922ddba4b3c7d71a11d2b367628c31f32fece933')
+
+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.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}