summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD26
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a9992213584
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Wed Dec 23 17:34:03 UTC 2015
+pkgbase = ruby-rasciiart
+ pkgdesc = A command line tool to turn images into ASCII art
+ pkgver = 0.0.9
+ pkgrel = 1
+ url = https://github.com/nodanaonlyzuul/asciiart
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = ruby-rainbow
+ depends = ruby-rmagick
+ provides = asciiart
+ provides = ruby-rasciiart
+ conflicts = asciiart
+ noextract = rasciiart-0.0.9.gem
+ source = https://rubygems.org/downloads/rasciiart-0.0.9.gem
+ sha256sums = 15f85bc41ee8d5143fbef534d2c1115ecdff544601a8007554eb07001736795c
+
+pkgname = ruby-rasciiart
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fdca74f8a03
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
+
+pkgname=ruby-rasciiart
+pkgver=0.0.9
+pkgrel=1
+pkgdesc="A command line tool to turn images into ASCII art"
+arch=('any')
+depends=('ruby' 'ruby-rainbow' 'ruby-rmagick')
+url="https://github.com/nodanaonlyzuul/asciiart"
+license=('MIT')
+source=(https://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem)
+sha256sums=('15f85bc41ee8d5143fbef534d2c1115ecdff544601a8007554eb07001736795c')
+noextract=("${pkgname#*-}-${pkgver}.gem")
+provides=('asciiart' 'ruby-rasciiart')
+conflicts=('asciiart')
+
+package() {
+ cd "$srcdir"
+
+ msg2 'Installing...'
+ gem install \
+ --no-user-install \
+ --ignore-dependencies \
+ -i "$pkgdir$(ruby -rubygems -e'puts Gem.default_dir')" \
+ ${pkgname#*-}-$pkgver.gem
+}