1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Your Name <youremail@domain.com>
11 pkgdesc="SPICE extension for Mozilla"
12 arch=('i686' 'x86_64' )
13 url="http://redhat.com"
15 depends=('qspice-client' 'log4cpp')
16 makedepends=('gcc' 'zip' 'xulrunner' 'libx11' 'automake' 'rpmextract')
20 source=(ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/$pkgname-$pkgver-$_rpmrel.el5_5.src.rpm arch-fixes.patch)
22 md5sums=('c241e0bf08783a9bc57e50251787e255')
26 rpmextract.sh ${pkgname}-${pkgver}-$_rpmrel.el5_5.src.rpm
27 tar xjf $pkgname-$pkgver.tar.bz2
29 cd "$srcdir/$pkgname-$pkgver"
30 patch -p1 -i ../spice-xpi-2.2-npruntime.patch
31 patch -p1 -i ../spice-xpi-2.2-sec.patch
32 patch -p1 -i ../arch-fixes.patch
33 ./configure --prefix=/usr
38 cd "$srcdir/$pkgname-$pkgver"
40 make DESTDIR="$pkgdir/" install
43 # vim:set ts=2 sw=2 et:
44 md5sums=('b6baa02212170cb24c43bc4b48ced198'
45 'b17230339f8a4af452d5363b784a0819')