aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2015-01-15 16:55:25 +0100
committerMarius Brehler <marbre@linux.sungazer.de>2015-01-15 16:55:25 +0100
commit68d7287de801c6edf65fde1088e7502346e7fdde (patch)
tree8edf569d5faa5b2b17e69aa050af3b6b43987784 /media-gfx/librecad
parentmedia-gfx/librecad-1.0.*: Add missing die (diff)
downloadsci-68d7287de801c6edf65fde1088e7502346e7fdde.tar.gz
sci-68d7287de801c6edf65fde1088e7502346e7fdde.tar.bz2
sci-68d7287de801c6edf65fde1088e7502346e7fdde.zip
media-gfx/librecad-1.0.*: Minor improvments
Diffstat (limited to 'media-gfx/librecad')
-rw-r--r--media-gfx/librecad/librecad-1.0.3.ebuild11
-rw-r--r--media-gfx/librecad/librecad-1.0.4.ebuild11
2 files changed, 4 insertions, 18 deletions
diff --git a/media-gfx/librecad/librecad-1.0.3.ebuild b/media-gfx/librecad/librecad-1.0.3.ebuild
index 914bdc4dd..ae7b0ac37 100644
--- a/media-gfx/librecad/librecad-1.0.3.ebuild
+++ b/media-gfx/librecad/librecad-1.0.3.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit qt4-r2 eutils
+inherit eutils qt4-r2 vcs-snapshot
DESCRIPTION="An generic 2D CAD program"
HOMEPAGE="http://www.librecad.org/"
@@ -23,11 +23,6 @@ RDEPEND="
DEPEND="${RDEPEND}"
-src_unpack() {
- unpack ${A}
- mv * ${P} || die
-}
-
src_prepare() {
sed -i -e "s:\\\$\+system(git describe --tags):1.0.3:" "${PN}.pro" || die
}
@@ -36,9 +31,7 @@ src_install() {
dobin unix/librecad
insinto /usr/share/"${PN}"
doins -r unix/resources/*
- if use doc ; then
- dohtml -r support/doc/*
- fi
+ use doc && dohtml -r support/doc/*
doicon res/main/"${PN}".png
make_desktop_entry "${PN}" LibreCAD "${PN}.png" Graphics
}
diff --git a/media-gfx/librecad/librecad-1.0.4.ebuild b/media-gfx/librecad/librecad-1.0.4.ebuild
index 36fa47cc7..ae7b0ac37 100644
--- a/media-gfx/librecad/librecad-1.0.4.ebuild
+++ b/media-gfx/librecad/librecad-1.0.4.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils qt4-r2
+inherit eutils qt4-r2 vcs-snapshot
DESCRIPTION="An generic 2D CAD program"
HOMEPAGE="http://www.librecad.org/"
@@ -23,11 +23,6 @@ RDEPEND="
DEPEND="${RDEPEND}"
-src_unpack() {
- unpack ${A}
- mv * ${P} || die
-}
-
src_prepare() {
sed -i -e "s:\\\$\+system(git describe --tags):1.0.3:" "${PN}.pro" || die
}
@@ -36,9 +31,7 @@ src_install() {
dobin unix/librecad
insinto /usr/share/"${PN}"
doins -r unix/resources/*
- if use doc ; then
- dohtml -r support/doc/*
- fi
+ use doc && dohtml -r support/doc/*
doicon res/main/"${PN}".png
make_desktop_entry "${PN}" LibreCAD "${PN}.png" Graphics
}