badwolf-0.1.0.ebuild (932B)
1 # Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> 2 # Distributed under the terms of the GNU General Public License v2 3 4 EAPI=7 5 6 inherit savedconfig 7 8 if [[ "${PV}" == "9999" ]] 9 then 10 EGIT_REPO_URI="https://hacktivis.me/git/badwolf.git" 11 EGIT_MIN_CLONE_TYPE="single+tags" 12 inherit git-r3 13 else 14 MY_P="${PN}-$(ver_rs 3-4 - 4-5 .)" 15 SRC_URI="https://hacktivis.me/releases/${MY_P}.tar.gz" 16 KEYWORDS="~amd64" 17 S="${WORKDIR}/${MY_P}" 18 fi 19 20 DESCRIPTION="Minimalist and privacy-oriented WebKitGTK+ browser" 21 HOMEPAGE="https://hacktivis.me/git/badwolf" 22 LICENSE="BSD" 23 SLOT="0" 24 25 DOCS=("README.md" "KnowledgeBase.md") 26 27 DEPEND=" 28 x11-libs/gtk+:3 29 net-libs/webkit-gtk 30 " 31 32 src_configure() { 33 restore_config config.h 34 default 35 } 36 37 src_compile() { 38 emake \ 39 CC="${CC:-cc}" \ 40 CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \ 41 LDFLAGS="${LDFLAGS}" 42 } 43 44 src_install() { 45 emake DESTDIR="${D}" PREFIX="/usr" install 46 save_config config.h 47 einstalldocs 48 }