summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Riha2019-12-09 14:22:28 +0100
committerJose Riha2019-12-09 14:22:28 +0100
commitddde7f204cd57d06fd8984ffb87cce5ab13c9fb6 (patch)
tree5995a6b1cf11d31bd82d12d7f8e97947ac569951
parent523743ac3438834b4d54687bf6f1351f908c194e (diff)
downloadaur-ddde7f204cd57d06fd8984ffb87cce5ab13c9fb6.tar.gz
Update source + add .install
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD8
-rw-r--r--vim-todotxt-git.install5
3 files changed, 14 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 660a789be28c..1bc946604e7d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
-# Generated by mksrcinfo v8
-# Fri Jan 11 09:38:28 UTC 2019
pkgbase = vim-todotxt-git
pkgdesc = Vim plugin for Todo.txt (git version)
- pkgver = r141.6845221
+ pkgver = r288.84b5ae6
pkgrel = 1
- url = https://github.com/dbeniamine/todo.txt-vim
+ url = https://gitlab.com/dbeniamine/todo.txt-vim
+ install = vim-todotxt-git.install
arch = any
license = unknown
depends = vim
conflicts = vim-todotxt
- source = vim-todotxt-git::git+https://github.com/freitass/todo.txt-vim.git
+ source = vim-todotxt-git::git+https://gitlab.com/dbeniamine/todo.txt-vim
md5sums = SKIP
pkgname = vim-todotxt-git
diff --git a/PKGBUILD b/PKGBUILD
index 2dbef8f9e65d..32df6a1fe89b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,16 @@
pkgname=vim-todotxt-git
_pkgname=vim-todotxt
-pkgver=r141.6845221
+pkgver=r288.84b5ae6
pkgrel=1
pkgdesc="Vim plugin for Todo.txt (git version)"
-url="https://github.com/dbeniamine/todo.txt-vim"
+url="https://gitlab.com/dbeniamine/todo.txt-vim"
depends=(vim)
conflicts=(vim-todotxt)
license=('unknown')
arch=('any')
-source=("${pkgname}"::'git+https://github.com/freitass/todo.txt-vim.git')
+install="${pkgname}.install"
+source=("${pkgname}"::'git+https://gitlab.com/dbeniamine/todo.txt-vim')
md5sums=('SKIP')
pkgver() {
@@ -23,6 +24,7 @@ package() {
install -d $pkgdir/usr/share/vim/vimfiles
cp -a {autoload,doc,ftdetect,ftplugin,syntax} \
$pkgdir/usr/share/vim/vimfiles/
+ install -Dm644 README.markdown "${pkgdir}/usr/share/doc/${pkgname}/README.markdown"
}
# vim:set ts=2 sw=2 et:
diff --git a/vim-todotxt-git.install b/vim-todotxt-git.install
new file mode 100644
index 000000000000..5eba9ae47cdc
--- /dev/null
+++ b/vim-todotxt-git.install
@@ -0,0 +1,5 @@
+post_install() {
+ echo "make sure that your vimrc contains:"
+ echo " syntax on"
+ echo " filetype plugin on"
+}