summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 86b9a5014331f2986664f454bcb1ac151d1efee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Gavin Costello <gavcos at gmail dot com>
# Contributor:
pkgname=handlebars
pkgver=v4.2.0
pkgrel=1
pkgdesc="Handlebars.js is an extension to the Mustache templating language created by Chris Wanstrath. Handlebars.js and Mustache are both logicless templating languages that keep the view and the code separated like we all know they should be."
arch=(any)
url="http://handlebarsjs.com"
license=('MIT')
depends=('nodejs')
optdepends=('nodejs-optimist')
source=("http://builds.handlebarsjs.com.s3.amazonaws.com/${pkgname}-${pkgver}.js" "http://builds.handlebarsjs.com.s3.amazonaws.com/${pkgname}.runtime-${pkgver}.js")
md5sums=('00a8fa9882a9939dda50bb2d19f45b58' 'c99722239b03f67747693ee31286e0fa')

package() {
  cd "${srcdir}"
  install -Dm755 "${pkgname}-${pkgver}.js" "${pkgdir}/usr/bin/${pkgname}.js"
  install -Dm755 "${pkgname}.runtime-${pkgver}.js" "${pkgdir}/usr/bin/${pkgname}.runtime.js"
}

# vim:set ts=2 sw=2 et: