summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhinoceros2021-02-22 23:00:14 +1100
committerRhinoceros2021-02-22 23:00:14 +1100
commit1d4d3539755943e15538003694459b1ceeea4e5f (patch)
treee33557572e216044b5097cf3d3584d964a7b70c7
parentf37768378eba68e65d879f8262309004143d47c6 (diff)
downloadaur-vim-unimpaired.tar.gz
Update to 2.0-1
* Bump pkgver * Add/swap maintainer * Copyedit pkgdesc * Remove vim format cruft * Install licence
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD15
2 files changed, 13 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0d8f226cc56..40d6fd7eb5c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = vim-unimpaired
- pkgdesc = pairs of handy bracket mappings
- pkgver = 1.2
+ pkgdesc = Pairs of handy bracket mappings for vim
+ pkgver = 2.0
pkgrel = 1
url = https://github.com/tpope/vim-unimpaired
arch = any
groups = vim-plugins
license = custom
depends = vim
- source = vim-unimpaired-1.2.tar.gz::https://github.com/tpope/vim-unimpaired/archive/v1.2.tar.gz
- sha512sums = 842eeffa05f9dc753f31b8af393e5c38e5d59515384929095ec61a6223aa55c01c203bf6ed92c41c6c099cb82392ee2402404d1ebc2d5213963f94c9443dfce8
+ source = vim-unimpaired-2.0.tar.gz::https://github.com/tpope/vim-unimpaired/archive/v2.0.tar.gz
+ sha512sums = e9c7f265ac343aa5d8aaed8c922209390524c5470d0f06278bfb0fd87fb9bc39eeb802bbe314bb6e7da36166c0091389f3cf32e6480075ee3ae55525e09830a5
pkgname = vim-unimpaired
diff --git a/PKGBUILD b/PKGBUILD
index dba3e160478..adca1294d18 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
-# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
+# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
+# Contributor: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
pkgname=vim-unimpaired
-pkgver=1.2
+pkgver=2.0
pkgrel=1
-pkgdesc='pairs of handy bracket mappings'
+pkgdesc='Pairs of handy bracket mappings for vim'
arch=('any')
url='https://github.com/tpope/vim-unimpaired'
license=('custom')
depends=('vim')
groups=('vim-plugins')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tpope/vim-unimpaired/archive/v${pkgver}.tar.gz")
-sha512sums=('842eeffa05f9dc753f31b8af393e5c38e5d59515384929095ec61a6223aa55c01c203bf6ed92c41c6c099cb82392ee2402404d1ebc2d5213963f94c9443dfce8')
+sha512sums=('e9c7f265ac343aa5d8aaed8c922209390524c5470d0f06278bfb0fd87fb9bc39eeb802bbe314bb6e7da36166c0091389f3cf32e6480075ee3ae55525e09830a5')
package() {
cd "${srcdir}/vim-unimpaired-${pkgver}"
@@ -18,6 +19,8 @@ package() {
install -d "${pkgdir}/usr/share/vim/vimfiles/"{plugin,doc}
install -D -m644 plugin/unimpaired.vim "${pkgdir}/usr/share/vim/vimfiles/plugin/"
install -D -m644 doc/unimpaired.txt "${pkgdir}/usr/share/vim/vimfiles/doc/"
-}
-# vim:set et sw=2 ts=2 tw=79:
+ _licencepath="${pkgdir}/usr/share/licenses/$pkgname/"
+ mkdir -p "${_licencepath}"
+ sed -n '/^License/,/^$/p' doc/unimpaired.txt | sed '$d' > "${_licencepath}/LICENSE"
+}