summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-10-15 17:45:29 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-10-15 17:45:29 +0100
commit97f2aff61729557c98c72439432242c30e3d0a6b (patch)
tree59413b4909faed943e2ff77a1139cc91c53c540b
parent281c3cbfa224554aad85c5664ecea18567fec6e3 (diff)
one more step to have a functional unetbootin-static ebuild
-rw-r--r--sys-boot/unetbootin-static/Manifest2
-rwxr-xr-xsys-boot/unetbootin-static/files/unetbootin-static-pkexec6
-rwxr-xr-xsys-boot/unetbootin-static/files/unetbootin-static.desktop7
-rw-r--r--sys-boot/unetbootin-static/unetbootin-static-625.ebuild11
4 files changed, 24 insertions, 2 deletions
diff --git a/sys-boot/unetbootin-static/Manifest b/sys-boot/unetbootin-static/Manifest
index 9bec9abf..cbdded87 100644
--- a/sys-boot/unetbootin-static/Manifest
+++ b/sys-boot/unetbootin-static/Manifest
@@ -1 +1 @@
-DIST unetbootin-linux-625.bin 4473012 SHA256 39b0951af049e7b39256cddfcf53be5266dc9b7b021d956d9be5620fdbadae47 SHA512 66386c00bd41ad5f46fd539596635086a4ea31e710b56f34800634cfd7413ff40b33436009e6f5d95566c6c8aec1d09a41324b9d3173f742ad67bfc43f800329 WHIRLPOOL a5e3458a26f03d88745c79f76a183a5f2c5cbbf9cec048c238190dccb6beeab228b4a90115ac7361dc1781b7feb8de446d8acf90374baec6249388bbb4416a76
+DIST unetbootin-static-625.tar.bz2 4493218 SHA256 5ebc7d0b3c700f632929e34fe3ae9c02f0bc8ca120351c83b93c17bc0a8bbd68 SHA512 49941b7944b9db79cf41928e32a0f692c308b6c22433114deab70b7fb3491f57249760aabad5ee3107c635a04353698ea486894a0e4a7821fb079b4a2036aa55 WHIRLPOOL 94442f10bbe11baa8a249238094fb474a0a4d868d90d25281b7116a682d1ea2437c35f901355d78448abe0027f72b48970ea85d1028c517042495b33e9a0e1e9
diff --git a/sys-boot/unetbootin-static/files/unetbootin-static-pkexec b/sys-boot/unetbootin-static/files/unetbootin-static-pkexec
new file mode 100755
index 00000000..26aa6a1c
--- /dev/null
+++ b/sys-boot/unetbootin-static/files/unetbootin-static-pkexec
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+main() {
+ pkexec /usr/bin/unetbootin-static-625
+}
+main
diff --git a/sys-boot/unetbootin-static/files/unetbootin-static.desktop b/sys-boot/unetbootin-static/files/unetbootin-static.desktop
new file mode 100755
index 00000000..11a7a66e
--- /dev/null
+++ b/sys-boot/unetbootin-static/files/unetbootin-static.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=Unetbootin Static
+Type=Application
+Comment=Universal Netboot Installer creates Live USB systems for various OS distributions
+Exec=unetbootin-static-pkexec
+Icon=unetbootin
+Categories=System;
diff --git a/sys-boot/unetbootin-static/unetbootin-static-625.ebuild b/sys-boot/unetbootin-static/unetbootin-static-625.ebuild
index d705d4d2..5e0e6e82 100644
--- a/sys-boot/unetbootin-static/unetbootin-static-625.ebuild
+++ b/sys-boot/unetbootin-static/unetbootin-static-625.ebuild
@@ -8,7 +8,7 @@ inherit eutils
DESCRIPTION="Universal Netboot Installer creates Live USB systems for various OS distributions"
HOMEPAGE="http://unetbootin.sourceforge.net"
-SRC_URI="http://downloads.sourceforge.net/project/unetbootin/UNetbootin/625/unetbootin-linux-${PV}.bin"
+SRC_URI="http://pkg.rogentos.ro/distfiles/${CATEGORY}/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -17,3 +17,12 @@ IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
+
+src_install() {
+ insopts -m 755
+ dobin ${P}
+ dobin ${FILESDIR}/${PN}-pkexec
+ dodir /usr/share/applications
+ insinto /usr/share/applications
+ doins ${FILESDIR}/${PN}.desktop
+}