summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2c4a1a8e5ef96d922d17fa809430df7b701aae67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Eduardo Reveles <me at osiux dot ws>
pkgname=vim-codepad
pkgver=1.4
_scriptid=13438
pkgrel=1
pkgdesc="Post the contents of your current buffer to the pastebin service at codepad.org"
arch=('any')
url="http://www.vim.org/scripts/script.php?script_id=2298"
license=('custom')
depends=(gvim)
groups=('vim-plugins')
install=vimdoc.install
source=(${pkgname}::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
        license.txt)
md5sums=('a08286132612828b01d5257d4a98cc3c'
         'efbd5986e691ce8c876fb86e8f5961ea')

package() {
  cd "${srcdir}"
  local vimfiles="${pkgdir}/usr/share/vim/vimfiles"
  install -Dm0644 vim-codepad "$vimfiles/plugin/codepad.vim"
  install -Dm0644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"
}