diff --git a/Readme.md b/Readme.md index ed54efb..d956a20 100644 --- a/Readme.md +++ b/Readme.md @@ -247,6 +247,13 @@ Basically, this patch helps you installing many useful programs on Wine which wo FORMAT: Patch files. +**wine-launcher-creator** +-------------- + +A Python-based GUI for creating Wine application launchers/Desktop shortcuts. + +FORMAT: Arch Linux PKGBUILD script + source archive. + **zsnes-netplay** -------------- diff --git a/wine-launcher-creator/PKGBUILD b/wine-launcher-creator/PKGBUILD new file mode 100644 index 0000000..5246cc4 --- /dev/null +++ b/wine-launcher-creator/PKGBUILD @@ -0,0 +1,38 @@ +#$ $Id$ +# Contributor: Malina +#Maintainer: You? + +pkgname=wine-launcher-creator +pkgver=1.0.8 +pkgrel=1 +pkgdesc="python gui for creating wine launchers (icons and desktop files)" +arch=('any') +url="https://code.google.com/p/wine-launcher-creator/" +license=('GPL') +depends=('python2' 'icoutils' 'xdg-utils' 'python2-pyqt4') +#makedepends=('intltool') +optdepends=('nautilus-actions: To integrate with nautilus') +source=("./wine-launcher-creator-1.0.8.tar.gz") +install=$pkgname.install + +prepare() { + cd ${srcdir}/${pkgname} + # python2 fix + for file in $(find . -name "*.py" -print); do + sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file + sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file + done + sed -i s/1.0.6/${pkgver}/g wlcreator.desktop + sed -i /nautilus/d Makefile + sed -i /tor.desktop/d Makefile +sed -i s,/usr/local,/usr,g wlcreator.py +} + +package() { + rm -rf ${pkgdir} + cd ${srcdir}/${pkgname} + make prefix="$pkgdir/usr" install + install -Dm0644 wlcreator.desktop ${pkgdir}/usr/share/applications/wlcreator.desktop + +} +md5sums=('b1b22cfd61dc19a8ef8cf060776008a3') diff --git a/wine-launcher-creator/wine-launcher-creator-1.0.8.tar.gz b/wine-launcher-creator/wine-launcher-creator-1.0.8.tar.gz new file mode 100644 index 0000000..90ed6c8 Binary files /dev/null and b/wine-launcher-creator/wine-launcher-creator-1.0.8.tar.gz differ diff --git a/wine-launcher-creator/wine-launcher-creator.install b/wine-launcher-creator/wine-launcher-creator.install new file mode 100644 index 0000000..58304fa --- /dev/null +++ b/wine-launcher-creator/wine-launcher-creator.install @@ -0,0 +1,12 @@ +post_install() { +cat << EOF + +Wine Launcher Creator is a tool for easy creation of windows launchers. +It can be used from the command line or can be integrated in Nautilus or Dolphin. + +To use it as Nautilus action, you need to install nautilus-actions package. + +Please see /usr/share/wlcreator/NoInternet.txt for the included how-to w.r.t. +disabling internet access for wine programs." +EOF +}