void-packages/srcpkgs/vimb/template

22 lines
646 B
Bash

# Template file for 'vimb'
pkgname=vimb
version=2.9
revision=4
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="$(vopt_if gtk3 webkitgtk-devel webkitgtk2-devel)"
short_desc="Fast and lightweight web browser based on WebKit/GTK+"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-3"
homepage="http://fanglingsu.github.io/vimb"
distfiles="https://github.com/fanglingsu/vimb/archive/${version}.tar.gz"
checksum=179024e07c133b049d9fb7c487bed9b9a8512b633e1d857e038b26a01d2e3541
build_options="gtk3"
build_options_default="gtk3"
desc_option_gtk3="Use GTK+3"
do_build() {
make ${makejobs} CC=$CC $(vopt_if gtk3 GTK=3)
}