blob: 6b7d5f647e6de3096fb22ba0cd88390abfa24f55 (
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
|
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit savedconfig toolchain-funcs
DESCRIPTION="a fast, lightweight, vim-like browser based on webkit"
HOMEPAGE="https://fanglingsu.github.io/vimb/"
if ver_test -eq "9999"; then
inherit git-r3
KEYWORDS=""
EGIT_REPO_URI="https://github.com/fanglingsu/vimb.git"
else
KEYWORDS="~amd64 ~arm ~arm64 ~x86 "
SRC_URI="https://github.com/fanglingsu/vimb/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="savedconfig"
DEPEND="
virtual/pkgconfig
"
RDEPEND="
x11-libs/gtk+:3
>=net-libs/webkit-gtk-2.20.0:4
"
src_prepare() {
default
restore_config config.def.h
}
src_compile() {
emake V=1 PREFIX="/usr"
}
src_install() {
emake V=1 PREFIX="/usr" DESTDIR="${D}" install
save_config src/config.def.h
}
|