PKGBUILDs/community/vim-timestamp/PKGBUILD

25 lines
726 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Contributor: Aaron Schaefer <aaron@elasticdog.com>
pkgname=vim-timestamp
pkgver=1.20
_scriptid=7284
pkgrel=4
pkgdesc='A Vim plugin for automated time stamping'
arch=('any')
url='http://www.vim.org/scripts/script.php?script_id=923'
license=('GPL')
depends=('vim')
install=vimdoc.install
source=("http://www.vim.org/scripts/download_script.php?src_id=$_scriptid")
md5sums=('f7ade9402223644f2c6a1c86d259d1e2')
build() {
cd $srcdir
mv download_script.php?src_id=$_scriptid timestamp-$pkgver.tbz2
tar -xjf timestamp-$pkgver.tbz2
installpath="$pkgdir/usr/share/vim/vimfiles"
install -D -m644 doc/timestamp.txt $installpath/doc/timestamp.txt
install -D -m644 plugin/timestamp.vim $installpath/plugin/timestamp.vim
}