diff options
author | Johannes Schlatow | 2021-11-02 10:19:26 +0100 |
---|---|---|
committer | Johannes Schlatow | 2021-11-02 10:19:26 +0100 |
commit | 449386d58c82b53490325d34650bee8bbcfef259 (patch) | |
tree | b374ecb0bf958613ea0167dc2b517ab2cc8c19fc | |
parent | 71e21b7af7359beda5d9161ed827d8a532d78035 (diff) | |
download | aur-449386d58c82b53490325d34650bee8bbcfef259.tar.gz |
update to 2.0.0
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 11 insertions, 19 deletions
@@ -1,6 +1,6 @@ pkgbase = vim-openbrowser pkgdesc = Open URI with your favorite browser from vim - pkgver = 0.0.7 + pkgver = 2.0.0 pkgrel = 1 url = http://www.vim.org/scripts/script.php?script_id=3133 install = vimdoc.install @@ -9,8 +9,7 @@ pkgbase = vim-openbrowser license = unknown makedepends = unzip depends = vim - source = http://www.vim.org/scripts/download_script.php?src_id=17003 - sha256sums = c57f9e80807f6e35d33db1bcd7995816f1c998f1cd15b20cffbe427dfd61bb0e + source = vim-openbrowser-2.0.0.zip::http://www.vim.org/scripts/download_script.php?src_id=25873 + sha256sums = 2abeca5d1f5b9a5fa018893197dc2e354b54cfc837b035ba6247f2c6dc37411c pkgname = vim-openbrowser - @@ -1,8 +1,8 @@ # Maintainer: Johannes Schlatow <johannes.schlatow@googlemail.com> pkgname=vim-openbrowser -pkgver=0.0.7 -_scriptid=17003 +pkgver=2.0.0 +_scriptid=25873 pkgrel=1 pkgdesc="Open URI with your favorite browser from vim" arch=('any') @@ -12,23 +12,16 @@ depends=('vim') makedepends=('unzip') groups=('vim-plugins') install=vimdoc.install -source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid) -sha256sums=('c57f9e80807f6e35d33db1bcd7995816f1c998f1cd15b20cffbe427dfd61bb0e') - -build() { - cd ${srcdir} - - mv download_script.php?src_id=$_scriptid openbrowser_${pkgver}.zip - unzip -qqo openbrowser_${pkgver}.zip -} +source=("$pkgname-$pkgver.zip::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid") +sha256sums=('2abeca5d1f5b9a5fa018893197dc2e354b54cfc837b035ba6247f2c6dc37411c') package() { cd ${srcdir} installpath="${pkgdir}/usr/share/vim/vimfiles" - install -Dm644 doc/openbrowser.txt $installpath/doc/openbrowser.txt - install -Dm644 plugin/openbrowser.vim $installpath/plugin/openbrowser.vim - install -Dm644 autoload/openbrowser.vim $installpath/autoload/openbrowser.vim - install -Dm644 autoload/urilib.vim $installpath/autoload/urilib.vim + install -d doc/ $installpath/doc/ + install -d plugin/ $installpath/plugin/ + install -d autoload/ $installpath/autoload/ + install -d lang/ $installpath/lang/ } |