updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / pywinery / PKGBUILD
blobb5c45d5e560b6d082e020d07002256ad8344766c
1 # Maintainer: Andres Vecchione <spam_AT_andyvec _DOT_com>
2 pkgname=pywinery
3 pkgver=0.2
4 pkgrel=1
5 pkgdesc="Graphical and simple wine-prefix manager which allows you to launch apps and manage configuration of separate prefixes."
6 license=('GPLv3')
7 url='http://code.google.com/p/pywinery/'
8 arch=('any')
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')
15 build() {
16   cd $srcdir
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"