summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlothar-mar2018-08-27 11:29:04 +0100
committerlothar-mar2018-08-27 11:29:04 +0100
commit15a05f8fc008d52d7002cde5ffd28fc05cccfa9a (patch)
treecf1c0d39182b8968059d4c933827f8942b3f8685
downloadaur-15a05f8fc008d52d7002cde5ffd28fc05cccfa9a.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD37
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f5e7bbe439e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = vim-calendar-git
+ pkgdesc = Vim-Calendar creates a calendar window you can use within vim. It is useful in its own right as a calendar-inside-vim. It also provides hooks to customise its behaviour, making it a good basis for writing new plugins which require calendar functionality.
+ pkgver = im7ish.r52.g867d0cd
+ pkgrel = 1
+ epoch = 1
+ url = https://github.com/mattn/calendar-vim
+ arch = any
+ groups = vim-plugins
+ license = PublicDomain
+ makedepends = git
+ depends = vim
+ provides = vim-calendar
+ conflicts = vim-calendar
+ source = git+https://github.com/mattn/calendar-vim.git
+ sha256sums = SKIP
+
+pkgname = vim-calendar-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..90c0213a272
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Lothar_m <lothar_m at riseup . net>
+
+pkgname=vim-calendar-git
+_pkg_dir=calendar-vim
+pkgver=im7ish.r52.g867d0cd
+pkgrel=1
+epoch=1
+pkgdesc='Vim-Calendar creates a calendar window you can use within vim. It is useful in its own right as a calendar-inside-vim. It also provides hooks to customise its behaviour, making it a good basis for writing new plugins which require calendar functionality.'
+arch=('any')
+url='https://github.com/mattn/calendar-vim'
+license=('PublicDomain')
+depends=('vim')
+makedepends=('git')
+conflicts=('vim-calendar')
+provides=('vim-calendar')
+groups=('vim-plugins')
+source=("git+https://github.com/mattn/calendar-vim.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ #cd ${pkgname%-git}
+ cd ${_pkg_dir}
+ # cutting off 'v' prefix from the git tag
+ #git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd ${_pkg_dir}
+ #cd ${pkgname%-git}
+ _installpath="${pkgdir}/usr/share/vim/vimfiles"
+ install -d "${_installpath}/"{autoload,doc,plugin}
+ install -m644 autoload/calendar.vim "${_installpath}/autoload/"
+ install -m644 doc/calendar.txt "${_installpath}/doc/"
+ install -m644 plugin/calendar.vim "${_installpath}/plugin/"
+ #install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}