summaryrefslogtreecommitdiff
path: root/pcr/ruby-mustache/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@parabola.nu>2013-04-25 12:22:18 -0300
committerNicolás Reynolds <fauno@parabola.nu>2013-04-25 12:22:18 -0300
commit6bb91ff33ab7e35929e346854d8e5c558c4107cf (patch)
treeb0f49e2d4e3877db73e64f378e5e35f0d7bc4cb1 /pcr/ruby-mustache/PKGBUILD
parent0f4dee0f15e56d85d9354b4d80e810b570e98e00 (diff)
ruby-mustache update to ruby2, removed transmission-remote-cli
...since it's in [community]
Diffstat (limited to 'pcr/ruby-mustache/PKGBUILD')
-rw-r--r--pcr/ruby-mustache/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/ruby-mustache/PKGBUILD b/pcr/ruby-mustache/PKGBUILD
new file mode 100644
index 000000000..ddb5215d3
--- /dev/null
+++ b/pcr/ruby-mustache/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: David Campbell <davekong@archlinux.us>
+pkgname=ruby-mustache
+pkgver=0.99.4
+pkgrel=3
+pkgdesc="A framework-agnostic way to render logic-free views."
+arch=('any')
+url="http://github.com/defunkt/mustache"
+license=(MIT)
+depends=('ruby>=2')
+makedepends=('rubygems')
+source=("http://gems.rubyforge.org/gems/mustache-${pkgver}.gem"
+ "https://raw.github.com/defunkt/mustache/master/LICENSE")
+md5sums=('650194ec2c166feb087377647414b9dc'
+ 'fbbd010314b3f1554733123ecde55a52')
+noextract=("mustache-${pkgver}.gem")
+
+build() {
+ cd $srcdir
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ gem install \
+ --no-user-install \
+ --ignore-dependencies \
+ -i "$pkgdir$_gemdir" mustache-$pkgver.gem \
+ -n "$pkgdir/usr/bin"
+
+ install -Dm644 $srcdir/LICENSE \
+ $pkgdir/usr/share/licenses/$pkgname/LICENSE
+
+}
+
+# vim:set ts=2 sw=2 et: