mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
app-misc/dragon: add v1.2.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Nickolas Raymond Kaczynski <nrk@disroot.org>
This commit is contained in:
27
app-misc/dragon/dragon-1.2.0.ebuild
Normal file
27
app-misc/dragon/dragon-1.2.0.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Simple drag-and-drop source/sink for X and Wayland"
|
||||
HOMEPAGE="https://github.com/mwh/dragon"
|
||||
SRC_URI="https://github.com/mwh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=x11-libs/gtk+-3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e 's/\(`pkg-config --cflags .*`\) \(`pkg-config --libs .*`\)/\1 $(CFLAGS) \2 $(LDFLAGS)/' \
|
||||
-i Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin dragon
|
||||
dodoc README
|
||||
doman dragon.1
|
||||
}
|
||||
Reference in New Issue
Block a user