summaryrefslogtreecommitdiff
path: root/dev-libs/appstream/appstream-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/appstream/appstream-9999.ebuild')
-rw-r--r--dev-libs/appstream/appstream-9999.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/dev-libs/appstream/appstream-9999.ebuild b/dev-libs/appstream/appstream-9999.ebuild
index 46ec51901c4..55829e7de5e 100644
--- a/dev-libs/appstream/appstream-9999.ebuild
+++ b/dev-libs/appstream/appstream-9999.ebuild
@@ -8,9 +8,19 @@ KDE_AUTODEPS="false"
KDE_TEST="true"
inherit kde5
+if [[ ${KDE_BUILD_TYPE} = live ]]; then
+ EGIT_REPO_URI="https://github.com/ximion/${PN}"
+else
+ inherit versionator
+ MY_PV="$(replace_all_version_separators '_')"
+ MY_P="APPSTREAM_${MY_PV}"
+ SRC_URI="https://github.com/ximion/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${PN}-${MY_P}"
+fi
+
DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem"
HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/"
-EGIT_REPO_URI="https://github.com/ximion/${PN}"
LICENSE="LGPL-2.1+ GPL-2+"
# check APPSTREAM_LIB_API_LEVEL