mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
960 B
Bash
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
|
|
}
|