From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 415D41382C5 for ; Wed, 13 May 2020 07:56:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3FD33E0943; Wed, 13 May 2020 07:56:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 25E83E0943 for ; Wed, 13 May 2020 07:56:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED5A935043F for ; Wed, 13 May 2020 07:56:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C61E51AC for ; Wed, 13 May 2020 07:56:50 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1589356609.ff95a40a716ad9b76f415677cd1cc42da23069cd.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/sandy/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/sandy/sandy-0.4-r1.ebuild X-VCS-Directories: app-editors/sandy/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: ff95a40a716ad9b76f415677cd1cc42da23069cd X-VCS-Branch: master Date: Wed, 13 May 2020 07:56:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 632273e3-cae1-4131-a1c7-3fb46ed2fdd7 X-Archives-Hash: 87a592ea25cca88aef63761d166a72c2 commit: ff95a40a716ad9b76f415677cd1cc42da23069cd Author: Jeroen Roovers gentoo org> AuthorDate: Wed May 13 07:56:38 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed May 13 07:56:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff95a40a app-editors/sandy: Add IUSE=savedconfig Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jeroen Roovers gentoo.org> app-editors/sandy/sandy-0.4-r1.ebuild | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/app-editors/sandy/sandy-0.4-r1.ebuild b/app-editors/sandy/sandy-0.4-r1.ebuild new file mode 100644 index 00000000000..d6f94b34f70 --- /dev/null +++ b/app-editors/sandy/sandy-0.4-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit flag-o-matic savedconfig toolchain-funcs + +DESCRIPTION="an ncurses text editor with an easy-to-read, hackable C source" +HOMEPAGE="https://tools.suckless.org/sandy" +SRC_URI="https://git.suckless.org/${PN}/snapshot/${P}.tar.bz2" + +LICENSE="MIT-with-advertising" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + sys-libs/ncurses:0= +" +RDEPEND=" + ${DEPEND} +" +PATCHES=( + "${FILESDIR}"/${PN}-0.4-gentoo.patch +) + +src_prepare() { + default + restore_config config.h +} + +src_compile() { + tc-export CC PKG_CONFIG + append-cflags -D_DEFAULT_SOURCE + emake PREFIX=/usr ${PN} +} + +src_install() { + emake PREFIX=/usr DESTDIR="${D}" install + save_config config.h +}