summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/screenruler/screenruler-0.9.6.ebuild')
-rw-r--r--app-misc/screenruler/screenruler-0.9.6.ebuild22
1 files changed, 8 insertions, 14 deletions
diff --git a/app-misc/screenruler/screenruler-0.9.6.ebuild b/app-misc/screenruler/screenruler-0.9.6.ebuild
index 94da75f..8180baa 100644
--- a/app-misc/screenruler/screenruler-0.9.6.ebuild
+++ b/app-misc/screenruler/screenruler-0.9.6.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit eutils fdo-mime
+inherit eutils
DESCRIPTION="Measure objects on your desktop using six different metrics"
HOMEPAGE="http://gnomecoder.wordpress.com/screenruler/"
@@ -30,24 +30,18 @@ src_prepare() {
src_install() {
make_desktop_entry screenruler "Screen Ruler" screenruler "Utility;GTK;"
+ cd "${S}"
+
insinto /usr/share/${PN}
- doins "${S}"/*.rb
- doins "${S}"/*.glade
- doins "${S}"/*.png
+ doins *.rb
+ doins *.glade
+ doins *.png
insinto /usr/share/${PN}/utils
- doins "${S}"/utils/*
+ doins utils/*
exeinto /usr/share/${PN}
- doexe "${S}"/screenruler.rb
+ doexe screenruler.rb
dosym /usr/share/${PN}/screenruler.rb /usr/bin/screenruler
dosym /usr/share/${PN}/screenruler-icon-64x64.png /usr/share/pixmaps/screenruler.png
}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}