summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-10-08 13:16:20 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-10-08 13:16:20 +0300
commit0b7782abfdb20094b45b1d33e9f480c779cf10c1 (patch)
tree5b06d18338b0ea57d96260843bd6689b7a251708
parent533fe9986214c5c30b61f2a7bf66dde9a470675f (diff)
qdirstat added
-rw-r--r--metadata/categories.conf1
-rw-r--r--packages/sys-apps/qdirstat/qdirstat-1.4.exheres-06
-rw-r--r--packages/sys-apps/qdirstat/qdirstat-scm.exheres-06
-rw-r--r--packages/sys-apps/qdirstat/qdirstat.exlib25
4 files changed, 38 insertions, 0 deletions
diff --git a/metadata/categories.conf b/metadata/categories.conf
index 6062f7b..e8b9437 100644
--- a/metadata/categories.conf
+++ b/metadata/categories.conf
@@ -13,6 +13,7 @@ net-libs
net-misc
net-print
net-vpn
+sys-apps
sys-block
sys-devel
sys-power
diff --git a/packages/sys-apps/qdirstat/qdirstat-1.4.exheres-0 b/packages/sys-apps/qdirstat/qdirstat-1.4.exheres-0
new file mode 100644
index 0000000..2dbde4c
--- /dev/null
+++ b/packages/sys-apps/qdirstat/qdirstat-1.4.exheres-0
@@ -0,0 +1,6 @@
+# Distributed under the terms of the GNU General Public License v2
+# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+
+require qdirstat
+
+PLATFORMS="~amd64 ~x86"
diff --git a/packages/sys-apps/qdirstat/qdirstat-scm.exheres-0 b/packages/sys-apps/qdirstat/qdirstat-scm.exheres-0
new file mode 100644
index 0000000..2dbde4c
--- /dev/null
+++ b/packages/sys-apps/qdirstat/qdirstat-scm.exheres-0
@@ -0,0 +1,6 @@
+# Distributed under the terms of the GNU General Public License v2
+# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+
+require qdirstat
+
+PLATFORMS="~amd64 ~x86"
diff --git a/packages/sys-apps/qdirstat/qdirstat.exlib b/packages/sys-apps/qdirstat/qdirstat.exlib
new file mode 100644
index 0000000..375cc81
--- /dev/null
+++ b/packages/sys-apps/qdirstat/qdirstat.exlib
@@ -0,0 +1,25 @@
+# Distributed under the terms of the GNU General Public License v2
+# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+
+require github [ user=shundhammer tag=${PV} force_git_clone=true ]
+require qmake [ slot=5 ]
+
+SUMMARY="Qt-based directory statistics: KDirStat without any KDE -- from the author of the original KDirStat."
+
+LICENCES="GPL-2"
+
+SLOT="0"
+
+DEPENDENCIES="
+ build+run:
+ x11-libs/qtbase:5[gui]
+"
+
+export_exlib_phases src_install
+
+qdirstat_src_install(){
+ default
+ edo mv "${IMAGE}"/usr/bin "${IMAGE}"/usr/$(exhost --target)/
+ nonfatal edo rmdir "${IMAGE}"/usr/share/man/man1
+ nonfatal edo rmdir "${IMAGE}"/usr/share/man
+}