summaryrefslogtreecommitdiff
path: root/pcr/ruby-syntax
diff options
context:
space:
mode:
authoraurelien <tek@localhost.localdomain>2012-11-13 17:00:03 +0100
committeraurelien <tek@localhost.localdomain>2012-11-13 17:00:03 +0100
commitcf319581703bfe2836e7df909dd5f9c0ab0d54e5 (patch)
tree43f3f7b82a28ea3440929e83da45f82968c3ba2c /pcr/ruby-syntax
parent5ae2d0f4bb7b2d29aca46139292207252616ac1f (diff)
version i686 of the build of end of October 201
Diffstat (limited to 'pcr/ruby-syntax')
-rw-r--r--pcr/ruby-syntax/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/ruby-syntax/PKGBUILD b/pcr/ruby-syntax/PKGBUILD
new file mode 100644
index 000000000..6845206bb
--- /dev/null
+++ b/pcr/ruby-syntax/PKGBUILD
@@ -0,0 +1,23 @@
+# Contributor: Adam Lloyd <lloyda2 (at) rpi (dot) edu>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+pkgname=ruby-syntax
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Syntax - lexical analysis for syntax highlighting"
+arch=(any)
+url="http://syntax.rubyforge.org/"
+license=('custom:BSD')
+depends=(ruby)
+makedepends=(rubygems)
+source=(http://gems.rubyforge.org/gems/syntax-$pkgver.gem)
+noextract=(syntax-$pkgver.gem)
+md5sums=('d9d2eabc03bc937adfa00e35f228f9a8')
+
+build() {
+ cd $srcdir
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies -i "$pkgdir$_gemdir" syntax-$pkgver.gem
+}
+
+# vim:set ts=2 sw=2 et:
+md5sums=('d9d2eabc03bc937adfa00e35f228f9a8')