blob: 5e701ad7f0b308ac5e97417a0599bcf1145ae1af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: edward-p <edward AT edward-p DOT xyz>
pkgname=vimrc-git
pkgver=r393.1d312d32
pkgrel=1
pkgdesc="The ultimate Vim configuration: vimrc"
arch=('any')
url='https://github.com/amix/vimrc'
license=('MIT')
depends=('vim')
makedepends=('git')
install=${pkgname}.install
source=("${pkgname}::git+https://github.com/amix/vimrc.git")
sha256sums=('SKIP')
pkgver() {
cd ${pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${pkgname}"
mkdir -p "${pkgdir}/usr/share/vimrc"
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cp -r * "${pkgdir}/usr/share/vimrc/"
}
|