summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-portage/epkg/Manifest1
-rw-r--r--app-portage/epkg/epkg-0.4.ebuild32
-rw-r--r--app-portage/epkg/files/epkg-sync-kogaion-portage-config.patch12
-rwxr-xr-xapp-portage/epkg/files/kogaionsync2
4 files changed, 47 insertions, 0 deletions
diff --git a/app-portage/epkg/Manifest b/app-portage/epkg/Manifest
new file mode 100644
index 00000000..5ae277f6
--- /dev/null
+++ b/app-portage/epkg/Manifest
@@ -0,0 +1 @@
+DIST epkg-0.4.tar.gz 3696 SHA256 7b3f51ed9fbbc931d2378525595379559e6d893d0c71b41a4529ea6f91b853a7 SHA512 2b9ef0e2d0ec123a1e333403371d0d4d750bc5247a05771dc2f694d225ea5db2702dbc9a126cec1d0ddca38dffa837dd66acaa046ac94d00a28890f3e3cd7879 WHIRLPOOL 63bf5fc3ce3017ad708cb9e42585e934369fb9249d9910f49bce52a6c71edf2729df8d065b80dc4dc4555433538b0f457531566603492412d1512bb227d4104c
diff --git a/app-portage/epkg/epkg-0.4.ebuild b/app-portage/epkg/epkg-0.4.ebuild
new file mode 100644
index 00000000..62fa218c
--- /dev/null
+++ b/app-portage/epkg/epkg-0.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A simple portage wrapper which works like other package managers"
+HOMEPAGE="https://github.com/jdhore/epkg"
+SRC_URI="https://github.com/jdhore/${PN}/archive/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${PN}-${P}"
+DEPEND=""
+RDEPEND="app-portage/eix
+ app-portage/gentoolkit
+ sys-apps/portage"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-sync-kogaion-portage-config.patch
+}
+
+src_install() {
+ dobin epkg
+ dobin "${FILESDIR}"/kogaionsync
+ doman doc/epkg.1
+}
diff --git a/app-portage/epkg/files/epkg-sync-kogaion-portage-config.patch b/app-portage/epkg/files/epkg-sync-kogaion-portage-config.patch
new file mode 100644
index 00000000..00164dab
--- /dev/null
+++ b/app-portage/epkg/files/epkg-sync-kogaion-portage-config.patch
@@ -0,0 +1,12 @@
+diff -Nur a/epkg b/epkg
+--- a/epkg 2015-01-09 17:30:57.000000000 +0000
++++ b/epkg 2016-03-06 11:07:56.277925505 +0000
+@@ -15,7 +15,7 @@
+ emerge --depclean -av "$@"
+ ;;
+ update)
+- eix-sync "$@"
++ kogaionsync
+ ;;
+ upgrade | dist-upgrade)
+ # Make it portage 2.1-safe and make sure it catches EVERYTHING.
diff --git a/app-portage/epkg/files/kogaionsync b/app-portage/epkg/files/kogaionsync
new file mode 100755
index 00000000..267c0d7a
--- /dev/null
+++ b/app-portage/epkg/files/kogaionsync
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+cd /opt/kogaion-build ; git pull ; cd