updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libflashsupport / PKGBUILD
blob8d1b0ccb15bc4cca07262c2c32a0f79472f876c2
1 # $Id: PKGBUILD 75729 2010-04-02 20:13:37Z pierre $
2 # Maintainer: Woody Gilk <woody@archlinux.org>
4 pkgname=libflashsupport
5 pkgver=9.0.21.78
6 pkgrel=7
7 pkgdesc="Macromedia flash plugin support lib (OSS SSL)"
8 arch=('i686' 'x86_64')
9 url="http://www.macromedia.com/software/flashplayer/"
10 license=("custom")
11 depends=('flashplugin' 'icu' 'openssl')
12 source=(http://www.kaourantin.net/flashplayer/flashsupport.c LICENSE)
13 md5sums=('bb8a0de41ba18f9f1fcad7038cacb688' 'f3b8e73dc23de1e789c233e993e8978e')
15 build() {
16         cd $srcdir
17         [ $CARCH == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"
18         gcc $CFLAGS -shared -Wall -Werror -licuuc -lssl flashsupport.c -o libflashsupport.so || return 1
19         install -D -m755 libflashsupport.so $pkgdir/usr/lib/libflashsupport.so
20         install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE