1 # Maintainer: Andres Vecchione <spam_AT_andyvec _DOT_com>
5 pkgdesc="Graphical and simple wine-prefix manager which allows you to launch apps and manage configuration of separate prefixes."
7 url='http://code.google.com/p/pywinery/'
9 makedepends=("python2")
10 depends=('python2' 'pygtk' 'libglade' 'librsvg' 'wine')
11 optdepends=('winetricks: Install various redistributable runtime libraries in Wine')
12 source=('http://pywinery.googlecode.com/files/pywinery_0.2-1_all.deb')
13 md5sums=('d3642e9fe69f4dd53d9175f348bb1728')
17 ar x pywinery_0.2-1_all.deb || return 1
18 tar -zxvf data.tar.gz || return 1
19 sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' usr/bin/pywinery
20 mkdir -p $pkgdir/usr/share/pywinery
21 install -D -m755 usr/bin/pywinery $pkgdir/usr/bin/pywinery || return 1
22 install -D -m644 usr/share/applications/pywinery.desktop $pkgdir/usr/share/applications/pywinery.desktop || return 1
23 install -D -m644 usr/share/pywinery/gui.glade $pkgdir/usr/share/pywinery/gui.glade || return 1
24 #install -D -m644 usr/share/icons/hicolor/scalable/apps/pywinery.svg $pkgdir/usr/share/pywinery/pywinery.svg || return 1
25 install -D -m644 usr/share/icons/hicolor/scalable/apps/pywinery.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/pywinery.svg
26 rm -f "$pkgdir/usr/share/icons/hicolor/icon-theme.cache"