summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhinoceros2015-08-11 17:04:26 +1000
committerRhinoceros2015-08-11 17:04:26 +1000
commitb9915c1c5d346849cfc1352c28430f0b08bc32d3 (patch)
tree9dcf354cf154e150619344e75cab23d61c2ebfd5
parentc5f399ec5b38e3ad6023df4a64b0e73cf3f25d79 (diff)
downloadaur-b9915c1c5d346849cfc1352c28430f0b08bc32d3.tar.gz
Update to 20150529-1
* Install "custom" (MIT) licence * Minor style changes
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD13
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 98bf86b9f9d2..4bd27600b769 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vim-committia-git
pkgdesc = A Vim plugin for more pleasant editing of Git commit messages
- pkgver = 20140831
+ pkgver = 20150529
pkgrel = 1
url = https://github.com/rhysd/committia.vim
install = vimdoc.install
diff --git a/PKGBUILD b/PKGBUILD
index b4789ce6d4db..15b269a415ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,15 @@
-# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
+# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
+# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=vim-committia-git
-pkgver=20140831
+pkgver=20150529
pkgrel=1
-pkgdesc="A Vim plugin for more pleasant editing of Git commit messages"
+pkgdesc='A Vim plugin for more pleasant editing of Git commit messages'
arch=('any')
depends=('vim')
makedepends=('git')
groups=('vim-plugins')
-url="https://github.com/rhysd/committia.vim"
+url='https://github.com/rhysd/committia.vim'
license=('MIT')
source=(${pkgname%-git}::git+https://github.com/rhysd/committia.vim)
sha256sums=('SKIP')
@@ -35,4 +36,8 @@ package() {
msg 'Cleaning up pkgdir...'
find "$pkgdir" -type d -name .git -exec rm -r '{}' +
+
+ # Install licence
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname%-git}"
+ grep '## License' README.md -A 100 > "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENCE"
}