Browse Source

Add Wine Launcher Creator package

master
Fincer 7 years ago
parent
commit
68ee36e112
4 changed files with 57 additions and 0 deletions
  1. +7
    -0
      Readme.md
  2. +38
    -0
      wine-launcher-creator/PKGBUILD
  3. BIN
      wine-launcher-creator/wine-launcher-creator-1.0.8.tar.gz
  4. +12
    -0
      wine-launcher-creator/wine-launcher-creator.install

+ 7
- 0
Readme.md View File

@ -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**
--------------


+ 38
- 0
wine-launcher-creator/PKGBUILD View File

@ -0,0 +1,38 @@
#$ $Id$
# Contributor: Malina <mali#arch>
#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')

BIN
wine-launcher-creator/wine-launcher-creator-1.0.8.tar.gz View File


+ 12
- 0
wine-launcher-creator/wine-launcher-creator.install View File

@ -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
}

Loading…
Cancel
Save