simplify a bit for prev commit
authorSamuli Suominen <ssuominen@gentoo.org>
Sat, 22 Oct 2011 05:58:35 +0000 (05:58 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Sat, 22 Oct 2011 05:58:35 +0000 (05:58 +0000)
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64

x11-misc/lxmed/Manifest
x11-misc/lxmed/lxmed-20110717.ebuild

index 43575b310750b992b1801e2290b082e4da0624c4..9bcc730be19e3453d0bbcc5cac403c7e16a8fcb8 100644 (file)
@@ -2,17 +2,17 @@
 Hash: SHA1
 
 DIST lxmed-20110717.tar.gz 68514 RMD160 37abb8ea773b84ebe601fd1ff7d1286bed64836b SHA1 0ff06836218ee507a7daee915142d8a9429c8758 SHA256 d38645de3f133e3ec9f49cc1c56923fda930a09a33244649f6850147d7f4c74e
-EBUILD lxmed-20110717.ebuild 862 RMD160 82a5ef766beb018a542b98e8977d8ade06f742c2 SHA1 1c0b5e8874b449ced9302475babefd5c3baba5a5 SHA256 e3d31eb9aa575ff7cb903ee4c5d71c0dd16835898058239f328c2f05d07a749e
+EBUILD lxmed-20110717.ebuild 838 RMD160 ebbc709b93ca99ffc0f2d001859c4f01c85877d9 SHA1 62d62bb03daf10fa4f397367c37735978ebe7ec1 SHA256 249ae8a15bd5664d4cd585015cbc5c59f5b29e01ff1b33d055869bb5a2248781
 MISC ChangeLog 332 RMD160 e44e90cbbac835bf3f473090628765be62cb8020 SHA1 09846877730533c1b779288c2c333d17629f8826 SHA256 7f6947ed097af031deef3d8eeee823e26cb963df922d94408599f4e184ec8945
 MISC metadata.xml 271 RMD160 f5550f51d7c9f7bb15177eeb66d3de3f6511f45a SHA1 13cd5d11fbd7f0dfd5967b8757efd71d4d273e23 SHA256 b0ab8f8a76df2649ab818da3d391589e88d0befc9607eb6c3be7f1746b2d4392
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iQEcBAEBAgAGBQJOolmUAAoJEEdUh39IaPFNKusH/3LWanKvn6jWgs7NZE+pejyY
-9qFWGBADzPGvvf0PVsP09mbq/Kv7mGMB/exf07Y9a6VxwcIvELN6pcjdh844EeDH
-y3FKSGRCinBjZKKxiJV3Ahp9U9hlL10KCKqRqxd+urSs7Yq91I7fq4FZfA6YUjYN
-EgQCwa6eCuhRVLEZUtoCqkWGy5bLcuqzaFURnKM3n8a7KDWBhTLTiQ6SIkhprs4R
-Ff2g4CSQPHPMgf3wlD1ihTzM5yTV13wQoRvCKOvASZ4k4othFBMpMFByMWNTYgZb
-5tERH5CvdFBdihIjdnHa99DhaLR5P8a0WDNvST78OErCS9wiLlS0Yoz77plrDRg=
-=ePyz
+iQEcBAEBAgAGBQJOoltlAAoJEEdUh39IaPFNLvUH/RhMEeZjC5lV9DcX6QTpGMFq
+o4qwQ4i6v/6yIBWj8GNtVnmLtXhaysw4BDwuIuEOqVaXQqqAsIaNLx6YQ2O0R/J3
+DbyB7HDBL0YO3f69Y2mH7yeVYk6ozG1Sixs3SLH/E9Udk2eodix8Q1hSzVym7Z+h
+iy3U6afqk/BX2OAhAKcgg+BQ10VQfvT5fLknxistkhHEW2i7L3PAlW/wyS4NWjZH
+Ex0py7/D7IMFhzIK6YJ0dwzw0L8J7dZf2w5zUfTOwj9tvHT/Tz+3NthVSG9Xj0La
+BA+Bfo+6IXc/54iHPEI5pP4p5+NoH6BQUOaUPLBJSUdSV1pL7juWdglFE4SfkAw=
+=hG7B
 -----END PGP SIGNATURE-----
index 45eb0639940a168023392049b1e0b41cb2e964c2..314139cc3375668580f1d890dd2735ccb5c713c6 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/lxmed-20110717.ebuild,v 1.1 2011/10/22 05:50:50 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/lxmed-20110717.ebuild,v 1.2 2011/10/22 05:58:35 ssuominen Exp $
 
 EAPI=4
 inherit eutils java-utils-2
@@ -18,14 +18,14 @@ RDEPEND="virtual/jre
        x11-libs/gksu"
 DEPEND=""
 
-S=${WORKDIR}/${PN}
+S=${WORKDIR}/${PN}/content
 
 src_prepare() {
-       sed -i -e '/^Icon/s:=.*:=lxmed:' content/lxmed.desktop || die
+       sed -i -e '/^Icon/s:=.*:=lxmed:' lxmed.desktop || die
 }
 
 src_install() {
-       java-pkg_dojar content/LXMenuEditor.jar
+       java-pkg_dojar LXMenuEditor.jar
 
        cat <<-EOF > "${T}"/lxmed
        #!/bin/bash
@@ -34,6 +34,6 @@ src_install() {
 
        dobin "${T}"/lxmed
 
-       doicon content/lxmed.png
-       domenu content/lxmed.desktop
+       doicon lxmed.png
+       domenu lxmed.desktop
 }