blob: 7d8223303e18fe2700ab46ff0fe543ec3d538654 (
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
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer (Arch): jason ryan <jasonwryan@gmail.com>
# Contributor (Arch): totoloco <totoloco en gmail>
pkgname=vimprobable2-git
pkgver=2014.12.26.ga514968
pkgrel=2
pkgdesc="Lightweight, keyboard-driven, WebKit based browser with Vim keybinds."
arch=('i686' 'x86_64')
url="http://www.yllr.net/vimprobable/"
license=('MIT')
depends=('libwebkit>=1.1.11' 'gtk2' 'libsoup')
makedepends=('git')
provides=('vimprobable2')
conflicts=('vimprobable2')
_gitname="vimprobable"
_gitbranch="vimprobable2"/
source=(
"$_gitname::git+http://git.code.sf.net/p/$_gitname/code"
'config.h' 'keymap.h'
)
md5sums=('SKIP'
'e2845958a1ec3f4d77ae4bec87ef2e4d'
'85e971541294c8e354b095b804fe8ac6')
pkgver() {
cd "$srcdir/${_gitname}"
git log -1 --format="%cd.g%h" --date=short | sed 's/-/./g'
}
prepare() {
cp {config,keymap}.h "$srcdir/${_gitname}"
cd "$srcdir/${_gitname}"
sed -i 's:LIBS = gtk+-2.0 webkit-1.0 libsoup-2.4:LIBS = gtk+-2.0 webkit-1.0 libsoup-2.4 javascriptcoregtk-1.0:' Makefile
}
build() {
cd "$srcdir/${_gitname}"
make
}
package() {
cd "$srcdir/$_gitname"
make PREFIX=/usr MANDIR=/usr/share/man DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/licenses/"${_gitbranch}"
chmod 0755 "$pkgdir"/usr/share/licenses/"${_gitbranch}"/
install -m 644 LICENSE "$pkgdir"/usr/share/licenses/"${_gitbranch}"/LICENSE
}
# vim:set ts=2 sw=2 et:
|