app-crypt/monkeysign: fix up ebuild
authorkristianf <devnull@localhost>
Mon, 18 Nov 2013 22:22:05 +0000 (23:22 +0100)
committerkristianf <devnull@localhost>
Mon, 18 Nov 2013 22:22:05 +0000 (23:22 +0100)
app-crypt/monkeysign/Manifest
app-crypt/monkeysign/files/monkeysign.desktop
app-crypt/monkeysign/metadata.xml [new file with mode: 0644]
app-crypt/monkeysign/monkeysign-1.1.ebuild

index df7fe35..4ce4223 100644 (file)
@@ -1,4 +1,4 @@
 AUX monkeysign-1.1-basename.patch 393 SHA256 68fd68a6c2aad7780a6e940c12d55f65cbcf06e2574b5537e066fcd300b5066c SHA512 ae9e01a6aff91231c700f1e46ef7f4dabed8ba6d3d3a275bb6405b767bcb6f40c96ff7563fe693a17d76e26b63b2ccb0e66e834e910cef5bb94d2a9f9cd366d3 WHIRLPOOL 05f6ed59a288d8868e0ec4faf8e7f5a0c2a14cfee860d3562cb50035544d4130ab95c9d1e2f1ccb0e1c4af70ef1a4b2cac88c29751148af00dc94bc5a680ffc6
-AUX monkeysign.desktop 258 SHA256 6ec5de1e1998fec88cb622ace174b9ff1b2a9be99fba6601b559cf13ca509355 SHA512 967c181c52236a2f924d06f44f78d1557cf6c638f037dbdeef3ffcd5c01ee08c89aac049638fa5028f0110f0d6c0c1aa8f74066131cbad53815147e80a6aa0fe WHIRLPOOL c0b27ce707a989a30d2bbe6e69ba9e3aca072f4b543759ce912eae6da3d3193eb65557c5e02224d0ba8e20f816ec5b03e428e46783b44d318d973804bef8bc47
+AUX monkeysign.desktop 217 SHA256 51288a88013f1fe359dfd2c4f6823b9ef376f4f3c49dfe7771d1816961503f8f SHA512 7b47cefb7df06f5a2fc5b74cb7c1bfdee466203563ee814cca62071dfe03e701990dd67f54a02b6869a1ba66cf0ebfd0c08c60919986e160ca2d54a2a1eb939a WHIRLPOOL 7a4b834e174ff2c25e42266366c3ff1c2c060457ac8efcc165582aab6fad6591fa17617973a7e43f99ff4c5b7c1798ba52a5d1c50f14039c992ac891cdaf6a78
 DIST monkeysign_1.1.tar.gz 54807 SHA256 1229c63c9b649b35a156ab69c7e8ef47ff03817c94ce8138107832117ee5fa6d SHA512 8d1e719633291a3ba9efda8057e8b27b41b8e767db68dc02ca07d18579123b0704f0424ae982f047948620027581589d21ae44470137d1f2ff85f1f360bfd512 WHIRLPOOL 907c65d8ec3a5bbc391dfaa91625a215456989d000e1334687cae3ebcec419b10f34bd65c04d170a6130b21b761ac1b7e9db9f9a1b3fa9ba6ec72d893f7464b9
-EBUILD monkeysign-1.1.ebuild 818 SHA256 0cb8ffa98814000ce91014d4da933dc5f124639a55eeac04dabe70e83d642310 SHA512 82d5029920f54f6f5b3a6768ffa3a25608290dc9d59bd67b0e45c8ebdde56efe7418938c5aa4b2f2c450ed992f950508d96b02c117de1b40e0ce01cb58cd1f46 WHIRLPOOL ab38355c110aae5890265dd50a062969f1d3f41a9a614017bd61d817420e1199be6621649aa15e7db6435a441afebf149afa33b83232cb746414b0bdf30493f8
+EBUILD monkeysign-1.1.ebuild 941 SHA256 2d60e2618b59792a19bab73ea0b094ee052ab9c0ec29bf22d5a3293d04fb951e SHA512 153f39fd46ce514159261d8f51de1438671ef7f6665b4472febb6e5658bc1bf9cc89d5648d9aeaf029b1a54e9f41698ccb5cb770c07dfb1604093ed1d7bfb33a WHIRLPOOL ab3c4227f73c43c925b1d9cabf86ac7ac6b9081c8bad2f1c67843c3ffc724b05e648e141593968062071536c5675b9921dcd14442f49ee6f70423f4b1951b26f
index 018acd1..4cc5534 100644 (file)
@@ -1,11 +1,11 @@
 [Desktop Entry]
 Encoding=UTF-8
-Version=1.1
+Version=1.0
 Name=Monkeyscan
 Comment=Monkeyscan part of monkeysign
-Categories=GTK;GNOME;Application;Internet;Network;Security;Utility;
+Categories=GTK;GNOME;Internet;
 Exec=/usr/bin/monkeyscan
-Icon=format-text-direction-ltr.png
+Icon=format-text-direction-ltr
 Terminal=false
 Type=Application
 
diff --git a/app-crypt/monkeysign/metadata.xml b/app-crypt/monkeysign/metadata.xml
new file mode 100644 (file)
index 0000000..e4dc40c
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer>
+               <email>kf@sumptuouscapital.com</email>
+       </maintainer>
+</pkgmetadata>
index 5b815ac..779a274 100644 (file)
@@ -28,12 +28,26 @@ RDEPEND="
        gnome? ( x11-themes/gnome-icon-theme )
 "
 
-src_prepare(){
+src_prepare()
+{
        epatch "${FILESDIR}/${P}-basename.patch"
 }
 
+src_install()
+{
+       default_src_install
+       if use gnome; then
+               insinto /usr/share/applications
+               doins "${FILESDIR}/monkeysign.desktop"
+       fi;
+}
+
 pkg_postinst()
 {
-       use gnome && cp ${FILESDIR}/monkeysign.desktop /usr/share/applications/ || die  
+       use gnome && update-desktop-database || die
+}
+
+pkg_postrm()
+{
        use gnome && update-desktop-database || die
 }