updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vim-yankring / PKGBUILD
blob5fdf52e0bbda383fe0c31664d792b062ac72e54e
1 # Contributor: vti <viacheslav.t at gmail dot com>
2 # Maintainer: Danny Navarro <j@dannynavarro.net>
4 pkgname=vim-yankring
5 pkgver=11.0
6 _scriptid=13554
7 pkgrel=1
8 pkgdesc="Maintains a history of previous yanks, changes and deletes"
9 arch=(any)
10 url="http://www.vim.org/scripts/script.php?script_id=1234"
11 license=('custom:vim')
12 depends=(vim)
13 makedepends=(unzip)
14 groups=('vim-plugins')
15 install=vimdoc.install
16 source=("${pkgname}_${pkgver}.zip::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid"
17         "license.txt")
18 md5sums=('09a567e9e86880ce6e8fca3a53f0f807'
19          'cd49910a3dde6fe0a7e24ebe8cbf7066')
21 build() {
22     cd $srcdir
23     unzip -qqo ${pkgname}_${pkgver}.zip
26 package() {
27     cd $srcdir
29     installpath="${pkgdir}/usr/share"
31     install -Dm644 doc/yankring.txt ${installpath}/vim/vimfiles/doc/yankring.txt
32     install -Dm644 plugin/yankring.vim ${installpath}/vim/vimfiles/plugin/yankring.vim
34     install -Dm644 license.txt ${installpath}/licenses/${pkgname}/LICENSE