#Maintainer: George Vlahavas pkgname=flash-plugin pkgver=11.2.202.270 pkgrel=1rl source=("install_flash_player_11_linux.i386.tar.gz") options=('nosrcpack') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "flash-plugin (Adobe(R) flashplayer plugin for GNU/Linux)" "Adobe(R) Flash Player is the high-performance, lightweight," "highly expressive client runtime that delivers powerful" "and consistent user experiences across major operating" "systems, browsers, mobile phones, and devices." "" "This is not free software." "Make sure you read the Adobe(R) flashplayer license from:" "http://www.adobe.com/products/players/fpsh_distribution1.html" "If you don't agree with it, you must remove the package." ) build() { cd $startdir/src/ mkdir -p $startdir/pkg/usr/lib${LIBDIRSUFFIX}/flashplugin cp libflashplayer.so $startdir/pkg/usr/lib${LIBDIRSUFFIX}/flashplugin/ mkdir -p $startdir/pkg/usr/lib${LIBDIRSUFFIX}/{firefox/plugins,mozilla/plugins} ( cd $startdir/pkg/usr/lib${LIBDIRSUFFIX}/mozilla/plugins ln -s /usr/lib${LIBDIRSUFFIX}/flashplugin/libflashplayer.so libflashplayer.so ) install -d $startdir/pkg/usr/{bin,share} install -m 755 usr/bin/flash-player-properties $startdir/pkg/usr/bin/ cp -a usr/share/{applications,icons} $startdir/pkg/usr/share/ find $startdir/pkg/usr/share -type f -exec chmod 644 {} \; chown -R root:root $startdir/pkg }