updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / vimplate / PKGBUILD
blob5fb6588aa3db6b6b1795d2a02c12533ff8f1009e
1 # Maintainer: Distag
2 pkgname=vimplate
3 pkgver=0.2.3
4 pkgrel=1
5 pkgdesc="Vimplate provides an extensible and powerful template processing system."
6 arch=('i686' 'x86_64')
7 url="http://www.vim.org/scripts/script.php?script_id=1311"
8 license=('GPL')
9 depends=('perl-template-toolkit' 'vim>=6.0')
10 source=(${pkgname}.tar.gz::http://www.vim.org/scripts/download_script.php?src_id=4504)
11 md5sums=('7f57fa519c1796a69c0304f24203eb0e')
12 install=${pkgname}.install
14 build() {
15   cd $srcdir/$pkgname
17   install -D -m 755 vimplate ${pkgdir}/usr/bin/vimplate
19   install -d -m 755 ${pkgdir}/usr/share/vim/vimfiles
20   cp -r {doc,plugin} ${pkgdir}/usr/share/vim/vimfiles/
22   install -d -m 755 ${pkgdir}/usr/share/vimplate
23   cp -r Templates ${pkgdir}/usr/share/vimplate/