blob: 0c9c5642b3ad6d4deafdc5c3ea6bd9a64210ff3a (
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
|
# Maintainer: Guillaume ALAUX <guillaume at alaux dot net>
_pkgname=urxvt-vim-scrollback
pkgname=${_pkgname}-git
pkgver=r18.e177d2f
pkgrel=1
pkgdesc='an extension for urxvt which provides a vim like scrollback mode and pasting'
arch=('any')
url="https://github.com/ervandew/${_pkgname}"
license=('GPL')
depends=('rxvt-unicode')
makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
source=("${_pkgname}::git+https://github.com/ervandew/${_pkgname}.git")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -D -m 644 \
"$srcdir/${_pkgname}/vim-scrollback" \
"$pkgdir/usr/lib/urxvt/perl/vim-scrollback"
install -D -m 644 \
"$srcdir/${_pkgname}/README.rst" \
"$pkgdir/usr/share/doc/${_pkgname}/README.rst"
}
|