summaryrefslogtreecommitdiff
path: root/libre/ruby-mustache/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-25 23:58:44 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-25 23:58:44 -0300
commit2907a8fbbc90e8535a69a104667b0b63d76e198a (patch)
tree702d4e1eba06f86cd8608db34185e8f703f8792e /libre/ruby-mustache/PKGBUILD
parent1510685e199a602651c7036695ab4cc761c558b3 (diff)
downloadabslibre-2907a8fbbc90e8535a69a104667b0b63d76e198a.tar.gz
abslibre-2907a8fbbc90e8535a69a104667b0b63d76e198a.tar.bz2
abslibre-2907a8fbbc90e8535a69a104667b0b63d76e198a.zip
remove ruby-{hpricot,mustache,rdiscount} because it were built from source and are included on [community]
Diffstat (limited to 'libre/ruby-mustache/PKGBUILD')
-rw-r--r--libre/ruby-mustache/PKGBUILD33
1 files changed, 0 insertions, 33 deletions
diff --git a/libre/ruby-mustache/PKGBUILD b/libre/ruby-mustache/PKGBUILD
deleted file mode 100644
index dbea70158..000000000
--- a/libre/ruby-mustache/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (AUR): David Campbell <davekong@archlinux.us>
-
-_gemname=mustache
-pkgname=ruby-$_gemname
-pkgver=0.99.4
-pkgdesc="A framework-agnostic way to render logic-free views."
-url="http://mustache.github.io/"
-license=('custom:MIT')
-
-pkgrel=4
-arch=('any')
-depends=('ruby')
-makedepends=('rubygems')
-source=("http://gems.rubyforge.org/gems/mustache-${pkgver}.gem")
-md5sums=('650194ec2c166feb087377647414b9dc')
-noextract=($_gemname-$pkgver.gem)
-
-package() {
- cd "${srcdir}"
- local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
- gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
- "$_gemname-$pkgver.gem"
-
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -sr "$pkgdir$_gemdir"/gems/$_gemname-$pkgver/LICENSE \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- shopt -s nullglob
- for file in "$pkgdir$_gemdir"/gems/$_gemname-$pkgver/man/*.{1..8}; do
- install -Dm644 "$file" "$pkgdir"/usr/share/man/man${file##*.}/${file##*/}
- done
-}