summaryrefslogtreecommitdiff
path: root/app-misc/kogaion-skel/kogaion-skel-2.1.ebuild
diff options
context:
space:
mode:
authorbionel <ionel.busuioc@gmail.com>2016-04-28 18:01:30 +0300
committerbionel <ionel.busuioc@gmail.com>2016-04-28 18:01:30 +0300
commitf8e4871406356a370e7ad938d5a090e60a4ef477 (patch)
tree0d7c9d487232347a8e9e173be4e9284abef6c43b /app-misc/kogaion-skel/kogaion-skel-2.1.ebuild
parentb42dc37ee443df96f54fde2bc02d9eaa5c6fa081 (diff)
bump skel to 2.1
Diffstat (limited to 'app-misc/kogaion-skel/kogaion-skel-2.1.ebuild')
-rw-r--r--app-misc/kogaion-skel/kogaion-skel-2.1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/app-misc/kogaion-skel/kogaion-skel-2.1.ebuild b/app-misc/kogaion-skel/kogaion-skel-2.1.ebuild
new file mode 100644
index 00000000..abf8beae
--- /dev/null
+++ b/app-misc/kogaion-skel/kogaion-skel-2.1.ebuild
@@ -0,0 +1,48 @@
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+EGIT_REPO_URI="https://gitlab.com/kogaion/kogaion-skel.git"
+
+inherit eutils git-2 fdo-mime
+
+DESCRIPTION="Kogaion Linux skel tree"
+HOMEPAGE="http://www.rogentos.ro/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE=""
+DEPEND=""
+RDEPEND="
+ x11-themes/kogaion-theme
+ x11-themes/numix-icon-theme
+ x11-themes/numix-icon-theme-circle
+ x11-themes/kogaion-artwork-core"
+
+src_install () {
+ dodir /etc/xdg/menus
+ cp "${S}"/* "${D}"/etc/ -Ra
+ chown root:root "${D}"/etc/skel -R
+
+ dodir /usr/share/desktop-directories
+ cp "${FILESDIR}"/3.0/xdg/*.directory "${D}"/usr/share/desktop-directories/
+ dodir /usr/share/kogaion
+ cp -a "${FILESDIR}"/3.0/* "${D}"/usr/share/kogaion/
+ doicon "${FILESDIR}"/3.0/img/kogaion-weblink.png
+}
+
+pkg_postinst() {
+ if [ -x "/usr/bin/xdg-desktop-menu" ]; then
+ xdg-desktop-menu install \
+ /usr/share/kogaion/xdg/kogaion-kogaion.directory \
+ /usr/share/kogaion/xdg/*.desktop
+ fi
+
+ fdo-mime_desktop_database_update
+}
+
+pkg_prerm() {
+ if [ -x "/usr/bin/xdg-desktop-menu" ]; then
+ xdg-desktop-menu uninstall /usr/share/kogaion/xdg/kogaion-kogaion.directory /usr/share/kogaion/xdg/*.desktop
+ fi
+}