summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2015-12-17 21:11:05 -0800
committerAndy Weidenbaum2015-12-17 21:11:05 -0800
commite76d306fcaa586e897873972bd59c6b2ae3a71f1 (patch)
treebced1380ca6e968861ebbf9ed625025b9eb1b4f9
downloadaur-e76d306fcaa586e897873972bd59c6b2ae3a71f1.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cb31edcce80
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Fri Dec 18 05:09:49 UTC 2015
+pkgbase = ruby-awesome_print
+ pkgdesc = Pretty print your Ruby objects with style
+ pkgver = 1.6.1
+ pkgrel = 1
+ url = https://github.com/michaeldv/awesome_print
+ arch = any
+ license = MIT
+ depends = ruby
+ noextract = awesome_print-1.6.1.gem
+ source = https://rubygems.org/downloads/awesome_print-1.6.1.gem
+ sha256sums = 0d8be8d9b270b900a337356cb9453ffdaf219d29902f14bbe4f120ecfdd38fef
+
+pkgname = ruby-awesome_print
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a630589c710
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
+
+pkgname=ruby-awesome_print
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="Pretty print your Ruby objects with style"
+arch=('any')
+depends=('ruby')
+url="https://github.com/michaeldv/awesome_print"
+license=('MIT')
+source=(https://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem)
+sha256sums=('0d8be8d9b270b900a337356cb9453ffdaf219d29902f14bbe4f120ecfdd38fef')
+noextract=("${pkgname#*-}-${pkgver}.gem")
+
+package() {
+ cd "$srcdir"
+
+ msg2 'Installing...'
+ gem install \
+ --no-user-install \
+ --ignore-dependencies \
+ -i "$pkgdir$(ruby -rubygems -e'puts Gem.default_dir')" \
+ ${pkgname#*-}-$pkgver.gem
+}