summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnkit R Gadiya2018-02-22 22:26:23 +0530
committerAnkit R Gadiya2018-02-22 22:26:23 +0530
commitefe7eb140d1662aa38184f1877924de0a18192ad (patch)
treedce3bb7b8804abed855ae892056a69b8c3b61501
parent6b98241a35b14ed3dd2dc6e39cabd56512f2471f (diff)
downloadaur-efe7eb140d1662aa38184f1877924de0a18192ad.tar.gz
Update: Added License and Renamed source tarball
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8dc15d8a296..3c35b988939 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = ranger-vim
pkgdesc = Ranger integration for vim
pkgver = 2.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/francoiscabrol/ranger.vim
arch = any
groups = vim-plugins
+ license = MIT
depends = vim
depends = ranger
- source = https://github.com/francoiscabrol/ranger.vim/archive/2.0.tar.gz
+ source = ranger-vim-2.0.tar.gz::https://github.com/francoiscabrol/ranger.vim/archive/2.0.tar.gz
md5sums = 59f24462eb5c7561756a646585cd9e4c
pkgname = ranger-vim
diff --git a/PKGBUILD b/PKGBUILD
index 3c69c36f039..1174026c836 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,20 @@
pkgname=ranger-vim
pkgver=2.0
-pkgrel=1
+pkgrel=2
pkgdesc="Ranger integration for vim"
license=('MIT')
arch=('any')
url="https://github.com/francoiscabrol/ranger.vim"
depends=('vim' 'ranger')
groups=('vim-plugins')
-source=("https://github.com/francoiscabrol/${pkgname/-/.}/archive/${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/francoiscabrol/${pkgname/-/.}/archive/${pkgver}.tar.gz")
md5sums=('59f24462eb5c7561756a646585cd9e4c')
package() {
- install -Dm755 "${srcdir}/${pkgname/-/.}-${pkgver}/plugin/ranger.vim" \
+ install -Dm755 "${pkgname/-/.}-${pkgver}/plugin/ranger.vim" \
"${pkgdir}/usr/share/vim/vimfiles/plugin/ranger.vim"
+
+ head -n 22 "${pkgname/-/.}-${pkgver}/plugin/ranger.vim" > LICENSE
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}