1 # Maintainer: Peter Lewis <prlewis@letterboxes.org>
2 # Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
3 # Contributor: Link Dupont <link@subpop.net>
4 # Contributor: Peter Johansson <pete@unlogical.net>
10 pkgdesc="A program that lets you play Windows games in Linux - GUI only"
11 url="http://www.cedega.com/"
13 depends=('python2' 'alsa-lib' 'libjpeg' 'pygtk' 'dbus-python')
16 source=('license.txt' 'cedega-arch.patch')
17 md5sums=('225e6f440847e0b6c1630bed1f1771e2'
18 '8b8c32c3bd7b601802feffbff727af8d')
19 install=('cedega.install')
25 echo "ATTENTION: Parts of Cedega are NOT free software!"
26 echo "These parts cannot be redistributed, by ArchLinux or anyone else."
27 echo "If you decide to install this package, then you must first read and agree to the various licences which apply."
29 echo "Press enter to display the licence agreement. When you have finished reading, hit q to return here."
31 cat license.txt | more
35 echo "Only if you have the right to use Cedega on this machine, and agree with the licences, should you install this software."
37 echo "Do you assert that this is true? [y/n]"
40 while test -z "$answer"; do
41 echo "You must answer y or n."
42 echo "Do you assert that this is true? [y/n]"
46 if [ $answer != "y" ] && [ $answer != "Y" ]; then
47 echo "You did not answer yes, therefore installation will abort!"
51 echo "You are asserting that you have the right to use Cedega on this machine, and agree to its licences. Installation continuing..."
53 wget http://www.cedega.com/downloads/packages/cedega-$pkgver.tgz
54 bsdtar -x -f cedega-$pkgver.tgz
57 patch -p0 < cedega-arch.patch
63 install -m 644 -D $srcdir/license.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE