Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Install packages

Tom Schwarz edited this page Sep 10, 2020 · 2 revisions

Install packages

Here are some custom build packages and scripts. I hope they will help you to run neix on your machine.

Table of contents

Gentoo ebuild

This is a ebuild script made by @g4jc.

# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake-utils

DESCRIPTION="A RSS/Atom feed reader for your terminal."
HOMEPAGE="https://github.com/tomschwarz/neix"

if [[ ${PV} == *9999* ]]; then
	inherit git-r3
	#EGIT_REPO_URI="https://github.com/tomschwarz/${PN}.git"
	EGIT_REPO_URI="https://github.com/g4jc/${PN}.git"
	EGIT_BRANCH="master"
	KEYWORDS="~amd64 ~x86"
else
	SRC_URI="https://github.com/tomschwarz/neix/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="amd64 x86"
fi

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+unicode test"

RESTRICT="mirror"

S="${WORKDIR}/${P}"

RDEPEND="sys-libs/ncurses:0=[unicode?]
	net-misc/curl
	test? ( dev-cpp/gtest )"
DEPEND="${RDEPEND}"

src_prepare() {
	eapply_user
	cmake-utils_src_prepare
}

src_configure() {
	cmake-utils_src_configure
}

src_compile() {
	cmake-utils_src_compile
}

src_install() {
	cmake-utils_src_install
}
Clone this wiki locally