1 # $Id: PKGBUILD 75729 2010-04-02 20:13:37Z pierre $
2 # Maintainer: Woody Gilk <woody@archlinux.org>
4 pkgname=libflashsupport
7 pkgdesc="Macromedia flash plugin support lib (OSS SSL)"
9 url="http://www.macromedia.com/software/flashplayer/"
11 depends=('flashplugin' 'icu' 'openssl')
12 source=(http://www.kaourantin.net/flashplayer/flashsupport.c LICENSE)
13 md5sums=('bb8a0de41ba18f9f1fcad7038cacb688' 'f3b8e73dc23de1e789c233e993e8978e')
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