You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/cbatticon/cbatticon-1.4.0.ebuild

30 lines
747 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/cbatticon/cbatticon-1.4.0.ebuild,v 1.2 2014/08/19 12:53:14 jer Exp $
EAPI=5
inherit toolchain-funcs
DESCRIPTION="A lightweight and fast battery icon that sits in your system tray"
HOMEPAGE="https://github.com/ColinJones/cbatticon"
SRC_URI="https://github.com/ColinJones/cbatticon/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="x11-libs/gtk+:3
x11-libs/libnotify"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_compile() {
tc-export CC
emake WITH_GTK3=1 V=1 VERSION="${PF}"
}
src_install() {
emake DESTDIR="${D}" V=1 VERSION="${PF}" install
}