[arch-commits] Commit in vim-airline-themes/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Mar 30 17:54:58 UTC 2020
Date: Monday, March 30, 2020 @ 17:54:58
Author: anthraxx
Revision: 607083
upgpkg: vim-airline-themes r1386.63b66df-1
Modified:
vim-airline-themes/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-30 17:43:30 UTC (rev 607082)
+++ PKGBUILD 2020-03-30 17:54:58 UTC (rev 607083)
@@ -1,24 +1,34 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Alexander F. Rødseth <xyproto at archlinux.org>
pkgname=vim-airline-themes
-pkgver=r1321.3bfe1d0
-# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+pkgver=r1386.63b66df
+_gitcommit=63b66df2851c0851df9e8018f62ed7208f3485de
pkgrel=1
pkgdesc='Themes for vim-airline'
-arch=(any)
url='https://github.com/vim-airline/vim-airline-themes'
-license=(MIT)
-groups=(vim-plugins)
-makedepends=(git)
-source=("git+https://github.com/vim-airline/$pkgname#commit=${pkgver#*.}")
-md5sums=('SKIP')
+arch=('any')
+license=('MIT')
+depends=('vim')
+makedepends=('git')
+groups=('vim-plugins')
+source=("git+${url}#commit=${_gitcommit}")
+sha512sums=('SKIP')
+pkgver() {
+ cd ${pkgname}
+ printf "r%s.%s" \
+ "$(git rev-list --count HEAD)" \
+ "$(git rev-parse --short HEAD)"
+}
+
package() {
- cd "$pkgname"
- _installpath="$pkgdir/usr/share/vim/vimfiles"
- install -d "$_installpath"
- cp -r autoload plugin "$_installpath"
- install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+ cd ${pkgname}
+ _installpath="${pkgdir}/usr/share/vim/vimfiles"
+ install -d "${_installpath}"
+ cp -r autoload doc plugin "${_installpath}"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list