PKGBUILDs/extra/libflashsupport/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
960 B
Bash

# $Id: PKGBUILD 41500 2009-06-04 19:51:43Z andyrtr $
# Maintainer: Woody Gilk <woody@archlinux.org>
pkgname=libflashsupport
pkgver=9.0.21.78
pkgrel=5
pkgdesc="Macromedia flash plugin support lib (OSS SSL)"
arch=('i686' 'x86_64')
url="http://www.macromedia.com/software/flashplayer/"
license=("custom")
depends=('flashplugin' 'icu>=4.2' 'openssl')
source=(http://www.kaourantin.net/flashplayer/flashsupport.c LICENSE)
md5sums=('bb8a0de41ba18f9f1fcad7038cacb688' 'f3b8e73dc23de1e789c233e993e8978e')
build() {
msg "Building libflashsupport"
cd $startdir/src
[ $CARCH == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"
echo gcc $CFLAGS -shared -Wall -Werror -licuuc -lssl flashsupport.c -o libflashsupport.so
gcc $CFLAGS -shared -Wall -Werror -licuuc -lssl flashsupport.c -o libflashsupport.so || return 1
install -D -m755 libflashsupport.so $startdir/pkg/usr/lib/libflashsupport.so
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}