summaryrefslogtreecommitdiff
path: root/dev-util/patchbin/patchbin-20160208.ebuild
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-util/patchbin/patchbin-20160208.ebuild
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadsrcux-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
srcux-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
srcux-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'dev-util/patchbin/patchbin-20160208.ebuild')
-rw-r--r--dev-util/patchbin/patchbin-20160208.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/patchbin/patchbin-20160208.ebuild b/dev-util/patchbin/patchbin-20160208.ebuild
new file mode 100644
index 000000000000..dc1c6612f55f
--- /dev/null
+++ b/dev-util/patchbin/patchbin-20160208.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == 99999999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/wine-compholio/wine-staging"
+ KEYWORDS=""
+else
+ SHA="4ffcf184bb71c6c3512b3a8c144dcf4a3a76d23c"
+ SRC_URI="https://github.com/wine-compholio/wine-staging/archive/${SHA}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 x86"
+ S="${WORKDIR}/wine-staging-${SHA}"
+fi
+
+DESCRIPTION="Apply binary patches without git"
+HOMEPAGE="https://github.com/wine-compholio/wine-staging"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="userland_BSD userland_GNU"
+
+RDEPEND="
+ app-shells/bash
+ sys-apps/coreutils
+ sys-apps/gawk
+ sys-apps/grep
+ sys-apps/util-linux
+ sys-devel/patch
+"
+
+src_prepare() {
+ mv patches/gitapply.sh ${PN} || die
+ sed -E -i "s/(\.\/)?gitapply(\.sh)?/${PN}/g" ${PN} || die
+
+ default
+}
+
+src_install() {
+ exeinto /usr/bin/
+ doexe ${PN}
+}
+
+pkg_postinst() {
+ einfo "${PN} can optionally use dev-util/git to apply patches if installed."
+}