wine

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Maintainer: Det <nimetonmaili at gmail a-dot com>
# Contributor: Lee Jackson <tomoe AT lbjackson DOTCOM>
# Based on [extra]'s wine

pkgname=bin32-wine-suse
pkgver=1.3.21
pkgrel=1
_suserel=1.${pkgrel}
_suserel=1.1
pkgdesc="A compatibility layer for running Windows programs - prebuilt openSUSE i586 build"
url="http://en.opensuse.org/Wine"
install=${pkgname}.install
arch=(x86_64)
license=(LGPL)
depends=('lib32-fontconfig' 'lib32-mesa' 'lib32-libxcursor' 'lib32-libxrandr' 'lib32-libxdamage' 'lib32-libxxf86dga' 'lib32-alsa-lib' 'desktop-file-utils')
makedepends=('libarchive>=2.4.12' 'rpmextract')
optdepends=('lib32-giflib' 'lib32-libpng' 'lib32-libldap' 'lib32-lcms' 'lib32-libxml2' 'lib32-mpg123' 'lib32-openal' 'lib32-jack' 'lib32-libcups' 'lib32-gnutls' 'lib32-v4l-utils' 'wine_gecko'
            'zenity: GUI for GNOME desktop'
            'kdebase-kdialog: GUI for KDE desktop')
provides=("wine=${pkgver}" "bin32-wine=${pkgver}" "bin32-winetricks=${pkgver}")
conflicts=('wine' 'bin32-wine' 'bin32-winetricks')
source=(http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Factory/i586/wine-${pkgver}-${_suserel}.i586.rpm
        http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Factory/i586/wine-32bit-${pkgver}-${_suserel}.i586.rpm
        http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Factory/i586/wine-devel-${pkgver}-${_suserel}.i586.rpm)

package() {
  rpmextract.sh wine-*.i586.rpm
  rpmextract.sh wine-32bit-*.i586.rpm
  rpmextract.sh wine-devel-*.i586.rpm

### Clean up unnecessary desktop entries
  rm usr/share/applications/wine-*

### Re-arrange docs
  mv usr/share/doc/{packages/wine,wine}
  rmdir usr/share/doc/packages

  mv usr/ "${pkgdir}"
}

md5sums=('7e1675e3858267b4f5564dc5d0e02137'
         '6431221b832e4090a283d95554f3626b'
         '8970c568a5c1a253d3b0f03b220d13b1')