mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
726 B
Bash
25 lines
726 B
Bash
|
# 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
|
||
|
}
|