blob: 5aa5e0844753fd68d146a19282f67e5d73b29028 (
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
31
32
33
34
35
36
37
|
pkgname=vim-oscyank-git
pkgver=r78.74f5ed9
pkgrel=1
pkgdesc="A Vim plugin copy text to system clipboard"
arch=("any")
url="https://github.com/ojroques/vim-oscyank"
license=("BSD")
groups=(
'vim-plugins'
)
makedepends=(
'git'
)
source=(
"git+https://github.com/ojroques/vim-oscyank.git"
)
sha512sums=(
'SKIP'
)
pkgver() {
cd vim-oscyank
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
depends+=(
'vim-runtime'
)
cd vim-oscyank
install -D -m644 plugin/oscyank.vim "${pkgdir}/usr/share/vim/vimfiles/plugin/oscyank.vim"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|