mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 20:02:30 +01:00
Inspired by ctemplate, Mustache is a framework-agnostic way to render logic-free views http://rubygems.org/gems/mustache
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
# Contributor: Seung Soo Mun <hamletmun@gmail.com>
|
|
# Maintainer:
|
|
_gemname=mustache
|
|
pkgname=ruby-$_gemname
|
|
pkgver=0.99.5
|
|
pkgrel=0
|
|
pkgdesc="Inspired by ctemplate, Mustache is a framework-agnostic way to render logic-free views"
|
|
url="http://rubygems.org/gems/$_gemname"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="ruby"
|
|
depends_dev=""
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages=""
|
|
source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
|
|
|
|
_builddir="$srcdir"/$_realname-$pkgver
|
|
|
|
build() {
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
|
|
local _geminstdir=$_gemdir/gems/$_gemname-$pkgver
|
|
mkdir -p "$pkgdir" || return 1
|
|
|
|
gem install --local --install-dir "$pkgdir"/$_gemdir \
|
|
--ignore-dependencies --verbose --no-rdoc --no-ri \
|
|
"$srcdir"/$_gemname-$pkgver.gem || return 1
|
|
rm -rf "$pkgdir"/$_gemdir/cache \
|
|
"$pkgdir"/$_geminstdir/ext \
|
|
"$pkgdir"/$_geminstdir/.require_paths
|
|
}
|
|
|
|
md5sums="fa5bb8c782febd55b2f4f47809b40acf mustache-0.99.5.gem"
|
|
sha256sums="c84be205017ada80aa4d4ad16b7af4bd89f840b26125a0e8eead5a914d279005 mustache-0.99.5.gem"
|
|
sha512sums="fa85db8a2d0beea5bac93bf4214db0b65d275b7a01b4a16dbfcab0084d6a7701060d7b7cf090901830fbae2db5caa1973af427396407040053af9966782b55ef mustache-0.99.5.gem"
|