updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / bin32-gmlive-extra / PKGBUILD
blob361c6cd0ae0b13630b57697c2e736c7c564c8b42
1 # Contributor kevku <kevku@msn.com>
2 pkgname=bin32-gmlive-extra
3 _pkgname=gmlive-extra
4 pkgver=0.3
5 pkgrel=5
6 pkgdesc="Addons for gmlive, provides pplive & ppstream support."
7 arch=('x86_64')
8 url="http://code.google.com/p/gmlive/"
9 license=('unknown')
10 depends=('lib32-libxext' 'libpps')
11 makedepends=('gcc-multilib')
12 install=bin32-gmlive-extra.install
13 source=("http://gmlive.googlecode.com/files/$_pkgname-$pkgver.tar.gz")
14 md5sums=('e94313ff9170e7375b75b518a7aae5cf')
16 build() {
17 cd "$srcdir/$_pkgname-$pkgver/ppstream"
18 tar xf "../lib-826.tar.gz"
19 sed -i 's|gcc -shared -Wl|gcc -m32 -shared -fPIC -Wl|g' Makefile
20 make
23 package(){
24 cd "$_pkgname-$pkgver/ppstream"
25 install -d ${pkgdir}/usr/bin
26 install -Dm755 xpps ${pkgdir}/usr/bin/
27 install -Dm755 ../xpplive ${pkgdir}/usr/bin/
28 #install -Dm755 ../sp-sc-auth ${pkgdir}/usr/bin/
29 install -d ${pkgdir}/usr/lib32/
30 #cp -ar lib/* ${pkgdir}/usr/lib32/
31 cp -ar libppswrapper-preload.* ${pkgdir}/usr/lib32/