summary refs log tree commit diff
path: root/x11-misc/herbe/herbe-1.0.0.ebuild
blob: 263ceabf60bbc62271fb0a446bf07bcc2644064f (plain) (blame)
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
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit savedconfig

DESCRIPTION="Daemon-less notifications without D-Bus. Minimal and lightweight."
HOMEPAGE="https://github.com/dudik/herbe"
SRC_URI="https://github.com/dudik/herbe/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="x11-libs/libX11
	x11-libs/libXft
	media-libs/freetype:2
"
RDEPEND="${DEPEND}"
BDEPEND=""

src_prepare() {
	default

	restore_config config.h
}

src_install() {
	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install

	save_config config.h
}

Consider giving Nix/NixOS a try! <3