mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
Manually went through some entries for `pkgcheck scan -c VariableOrderCheck`. Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
32 lines
696 B
Bash
32 lines
696 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
COMMIT="c0ddf8d4f0a57b984570ceacb1f3e587639d8bda"
|
|
|
|
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/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/${PN}-${COMMIT}"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
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
|
|
}
|