diff options
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,7 +2,7 @@ pkgname=vim-pastie pkgver=2.0 _scriptid=10260 -pkgrel=2 +pkgrel=3 pkgdesc='A Vim plugin that lets you read and create pastes at http://pastie.org/' arch=('any') url='http://www.vim.org/scripts/script.php?script_id=1624' @@ -15,7 +15,8 @@ build() { cd "$srcdir" mv "download_script.php?src_id=$_scriptid" "pastie-$pkgver.vim" - install -D -m644 "pastie-$pkgver.vim" "$pkgdir/usr/share/vim/plugin/pastie.vim" + installpath="$pkgdir/usr/share/vim/vimfiles" + install -D -m644 "pastie-$pkgver.vim" "$installpath/plugin/pastie.vim" || return 1 install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt } |