updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / ruby-tmpl / PKGBUILD
blobba959d0a655c16c7bae87f468187a56c4573971d
1 # Contributor: Baptiste Grenier <baptiste@bapt.name>
2 pkgname=ruby-tmpl
3 pkgver=0.2.3
4 pkgrel=1
5 pkgdesc="A templating system designed to work with or without mod-ruby."
6 arch=(i686)
7 url="http://ruby-tmpl.sourceforge.net"
8 license=('BSD')
9 depends=('ruby')
10 source=(http://prdownloads.sourceforge.net/ruby-tmpl/$pkgname-$pkgver.tar.gz)
11 noextract=()
12 md5sums=('5990050e35ae72d9f34ee78074ae89ce')
14 build() {
15   cd "$startdir/src/$pkgname-$pkgver"
16   mkdir -p $startdir/pkg/usr/lib/ruby/site_ruby/1.8
17   cp $startdir/src/$pkgname-$pkgver/src/ruby-tmpl.rb $startdir/pkg/usr/lib/ruby/site_ruby/1.8 || return 1