diff options
author | Sebastian Pipping <sping@gentoo.org> | 2017-02-20 23:15:55 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2017-02-20 23:16:31 +0100 |
commit | 39cb2057116ddeb50010ab75266c4ef3eae5a7b6 (patch) | |
tree | 70080b4b31da369f2b720cfabb71e630366702a4 /x11-apps/console-tdm | |
parent | media-sound/guayadeque: Remove obsolete 9999 (diff) | |
download | betagarden-39cb2057116ddeb50010ab75266c4ef3eae5a7b6.tar.gz betagarden-39cb2057116ddeb50010ab75266c4ef3eae5a7b6.tar.bz2 betagarden-39cb2057116ddeb50010ab75266c4ef3eae5a7b6.zip |
x11-apps/console-tdm: 1.1.1
Diffstat (limited to 'x11-apps/console-tdm')
-rw-r--r-- | x11-apps/console-tdm/Manifest | 1 | ||||
-rw-r--r-- | x11-apps/console-tdm/console-tdm-1.1.1.ebuild | 26 | ||||
-rw-r--r-- | x11-apps/console-tdm/files/console-tdm-1.1.1-destdir.patch | 65 | ||||
-rw-r--r-- | x11-apps/console-tdm/metadata.xml | 7 |
4 files changed, 99 insertions, 0 deletions
diff --git a/x11-apps/console-tdm/Manifest b/x11-apps/console-tdm/Manifest new file mode 100644 index 0000000..0dacb3c --- /dev/null +++ b/x11-apps/console-tdm/Manifest @@ -0,0 +1 @@ +DIST console-tdm-1.1.1.tar.gz 17665 SHA256 bf59d398f329dfc511da41ec826715928768c39d2ae77916760689400bd00c87 SHA512 77e2d05292380b30a50339f7b3a7845a481fbcebc8e2ddb5a60db1d42882a13ac44543a186be060cfc8acfdf90aadcd6e1956ab6b85d2805ed41c1c1e2ca14c7 WHIRLPOOL 983f961907ee19cb43942350a459a53f0178fc727bc53056934811f6cb949a375b63546b87fefdb2ef3b239524ab67ef458cc2476fba9dfc2779edf969cfe4b9 diff --git a/x11-apps/console-tdm/console-tdm-1.1.1.ebuild b/x11-apps/console-tdm/console-tdm-1.1.1.ebuild new file mode 100644 index 0000000..ab62ca2 --- /dev/null +++ b/x11-apps/console-tdm/console-tdm-1.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Console display manager based on CDM" +HOMEPAGE="https://dopsi.github.io/console-tdm/" +SRC_URI="https://github.com/dopsi/console-tdm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DOCS=( ChangeLog.md NEWS.md README.md ) + +PATCHES=( + "${FILESDIR}"/${P}-destdir.patch +) + +src_compile() { : ; } + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install +} diff --git a/x11-apps/console-tdm/files/console-tdm-1.1.1-destdir.patch b/x11-apps/console-tdm/files/console-tdm-1.1.1-destdir.patch new file mode 100644 index 0000000..99a8a08 --- /dev/null +++ b/x11-apps/console-tdm/files/console-tdm-1.1.1-destdir.patch @@ -0,0 +1,65 @@ +From f38a452b54175a558ad9c826665776953d90a9af Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Mon, 20 Feb 2017 23:02:18 +0100 +Subject: [PATCH] Makefile: Support DESTDIR + +--- + Makefile | 31 ++++++++++++++++--------------- + 1 file changed, 16 insertions(+), 15 deletions(-) + +diff --git a/Makefile b/Makefile +index 6840220..e0fe646 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,6 @@ + MKDIR=mkdir -p + CP=cp ++DESTDIR= + PREFIX=/usr/local + SH=/bin/sh + +@@ -11,26 +12,26 @@ none: + install: bin bashcomp zshcomp scripts doc + + bin: tdm tdmctl +- $(MKDIR) $(PREFIX)/bin +- $(CP) $^ $(PREFIX)/bin +- sed -i -e "s_PREFIX=/usr/local_PREFIX=$(PREFIX)_" $(PREFIX)/bin/tdmctl ++ $(MKDIR) $(DESTDIR)$(PREFIX)/bin ++ $(CP) $^ $(DESTDIR)$(PREFIX)/bin ++ sed -i -e "s_PREFIX=/usr/local_PREFIX=$(PREFIX)_" $(DESTDIR)$(PREFIX)/bin/tdmctl + + bashcomp: tdmctl.bashcomp +- $(MKDIR) $(PREFIX)/share/bash-completion/completions +- $(CP) $^ $(PREFIX)/share/bash-completion/completions/tdmctl ++ $(MKDIR) $(DESTDIR)$(PREFIX)/share/bash-completion/completions ++ $(CP) $^ $(DESTDIR)$(PREFIX)/share/bash-completion/completions/tdmctl + + zshcomp: _tdmctl +- $(MKDIR) $(PREFIX)/share/zsh/site-functions +- $(CP) $^ $(PREFIX)/share/zsh/site-functions ++ $(MKDIR) $(DESTDIR)$(PREFIX)/share/zsh/site-functions ++ $(CP) $^ $(DESTDIR)$(PREFIX)/share/zsh/site-functions + + scripts: tdmexit tdminit +- $(MKDIR) $(PREFIX)/share/tdm +- $(CP) $^ $(PREFIX)/share/tdm +- $(MKDIR) $(PREFIX)/share/tdm/sessions +- $(MKDIR) $(PREFIX)/share/tdm/extra +- $(SH) ./links.sh /usr/bin $(PREFIX)/share/tdm/sessions ++ $(MKDIR) $(DESTDIR)$(PREFIX)/share/tdm ++ $(CP) $^ $(DESTDIR)$(PREFIX)/share/tdm ++ $(MKDIR) $(DESTDIR)$(PREFIX)/share/tdm/sessions ++ $(MKDIR) $(DESTDIR)$(PREFIX)/share/tdm/extra ++ $(SH) ./links.sh /usr/bin $(DESTDIR)$(PREFIX)/share/tdm/sessions + + doc: tdm.1 +- $(MKDIR) $(PREFIX)/share/man/man1 +- $(CP) $^ $(PREFIX)/share/man/man1 +- ln -s $^ $(PREFIX)/share/man/man1/tdmctl.1 ++ $(MKDIR) $(DESTDIR)$(PREFIX)/share/man/man1 ++ $(CP) $^ $(DESTDIR)$(PREFIX)/share/man/man1 ++ ln -s $^ $(DESTDIR)$(PREFIX)/share/man/man1/tdmctl.1 +-- +2.11.1 + diff --git a/x11-apps/console-tdm/metadata.xml b/x11-apps/console-tdm/metadata.xml new file mode 100644 index 0000000..82b7b79 --- /dev/null +++ b/x11-apps/console-tdm/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sping@gentoo.org</email> + </maintainer> +</pkgmetadata> |