diff options
Diffstat (limited to 'app-admin/vasile/vasile-1.1801-r1.ebuild')
-rw-r--r-- | app-admin/vasile/vasile-1.1801-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/vasile/vasile-1.1801-r1.ebuild b/app-admin/vasile/vasile-1.1801-r1.ebuild new file mode 100644 index 00000000..58ed0f5c --- /dev/null +++ b/app-admin/vasile/vasile-1.1801-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2016-2017 Redcore Linux Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="Versatile Advanced Script for ISO and Latest Enchantments" +HOMEPAGE="https://redcorelinux.org" +SRC_URI="https://github.com/redcorelinux/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="sys-apps/gentoo-functions" +RDEPEND="${DEPEND} + dev-libs/libisoburn + sys-boot/grub:2 + sys-kernel/dkms + sys-fs/mtools + sys-fs/squashfs-tools" + +src_prepare() { + default + epatch "${FILESDIR}/${P}-r1.patch" +} + +src_install() { + default + dosym ../../usr/bin/"${PN}".sh usr/bin/"${PN}" + dodir var/cache/packages + dodir var/cache/distfiles +} + +pkg_postinst() { + chown portage:portage /var/cache/distfiles + chmod 775 /var/cache/distfiles + + # auto switch to Redcore Linux profile + "{ROOT}"/usr/bin/eselect profile set redcore:default/linux/amd64/13.0 +} |