summaryrefslogtreecommitdiff
path: root/app-misc/redcore-skel/redcore-skel-1801-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-14 11:38:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-14 11:38:11 +0000
commit2c2a605b449de0503c88f7fd26bcc4ed4a8357d7 (patch)
treec9e30ad98de74934524df09ee613af86012201a7 /app-misc/redcore-skel/redcore-skel-1801-r1.ebuild
parent172886c16c0d167850046da66b6c728584992dad (diff)
app-misc/redcore-skel : revision bump
Diffstat (limited to 'app-misc/redcore-skel/redcore-skel-1801-r1.ebuild')
-rw-r--r--app-misc/redcore-skel/redcore-skel-1801-r1.ebuild64
1 files changed, 64 insertions, 0 deletions
diff --git a/app-misc/redcore-skel/redcore-skel-1801-r1.ebuild b/app-misc/redcore-skel/redcore-skel-1801-r1.ebuild
new file mode 100644
index 00000000..324b68fb
--- /dev/null
+++ b/app-misc/redcore-skel/redcore-skel-1801-r1.ebuild
@@ -0,0 +1,64 @@
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+EGIT_REPO_URI="https://gitlab.com/redcore/redcore-skel.git"
+
+inherit eutils git-r3 fdo-mime
+
+DESCRIPTION="Redcore Linux skel tree"
+HOMEPAGE="https://redcorelinux.org"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+DEPEND=""
+RDEPEND="
+ media-fonts/roboto
+ x11-themes/material-icon-theme
+ x11-themes/redcore-theme
+ x11-themes/redcore-artwork-community
+ x11-themes/redcore-artwork-core"
+
+S="${WORKDIR}/${P}"
+
+src_install () {
+ dodir etc/skel
+ insinto etc/skel
+ doins -r skel/*
+ doins -r skel/.*
+
+ dodir usr/share/desktop-directories
+ insinto usr/share/desktop-directories
+ doins "${FILESDIR}"/menu/xdg/*.directory
+
+ dodir usr/share/redcore
+ insinto usr/share/redcore
+ doins -r "${FILESDIR}"/menu/*
+
+ doicon "${FILESDIR}"/menu/img/redcore-weblink.png
+
+ dodir etc/xdg/autostart
+ insinto etc/xdg/autostart
+ doins "${FILESDIR}"/loginsound.desktop
+
+ dodir usr/share/sounds
+ insinto usr/share/sounds
+ doins "${FILESDIR}"/redcore.ogg
+}
+
+pkg_postinst() {
+ if [ -x "/usr/bin/xdg-desktop-menu" ]; then
+ xdg-desktop-menu install \
+ /usr/share/redcore/xdg/redcore-redcore.directory \
+ /usr/share/redcore/xdg/*.desktop
+ fi
+
+ fdo-mime_desktop_database_update
+}
+
+pkg_prerm() {
+ if [ -x "/usr/bin/xdg-desktop-menu" ]; then
+ xdg-desktop-menu uninstall /usr/share/redcore/xdg/redcore-redcore.directory /usr/share/redcore/xdg/*.desktop
+ fi
+}