summaryrefslogtreecommitdiff
path: root/system/driconf/driconf.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2015-11-18 23:21:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-18 23:23:03 +0700
commit119ea43024bfe56a3a97a11d5f3d700caa3e2f36 (patch)
treebf4bbbd5bb4e99fefd233bcdc57989754975d4f8 /system/driconf/driconf.SlackBuild
parent178a008a24dc780a8852b87b180487d6f3086a14 (diff)
downloadslackbuilds-119ea43024bfe56a3a97a11d5f3d700caa3e2f36.tar.gz
system/driconf: Added .desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/driconf/driconf.SlackBuild')
-rw-r--r--system/driconf/driconf.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/driconf/driconf.SlackBuild b/system/driconf/driconf.SlackBuild
index 1768dac18a..d344b866ff 100644
--- a/system/driconf/driconf.SlackBuild
+++ b/system/driconf/driconf.SlackBuild
@@ -21,6 +21,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Thanks to James Powell for the .desktop file.
+
PRGNAM=driconf
VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
@@ -72,6 +74,11 @@ cat $CWD/driconf-0.9.1-2.diff | patch --verbose -p1
python setup.py install --root=$PKG
+mkdir -p $PKG/usr/share/{applications,driconf}
+ cp -a $CWD/driconf.desktop $PKG/usr/share/applications/driconf.desktop
+ cp -a driconf-icon.png $PKG/usr/share/applications/driconf-icon.png
+
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true