diff options
author | Ionuț Mircea Bîru | 2009-09-20 17:29:22 +0000 |
---|---|---|
committer | Ionuț Mircea Bîru | 2009-09-20 17:29:22 +0000 |
commit | 6e21155512fe155786b04defa25ecec85ef968c8 (patch) | |
tree | 82b01ab18ab1073b82ac89683dc637754ec107d9 | |
parent | e90e0c62b92a68a2ee721a88fb2f8ce9ee565adf (diff) | |
download | aur-6e21155512fe155786b04defa25ecec85ef968c8.tar.gz |
fix FS#16261
-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 } |