From baeaf683cbd9de120c0b03db1b9cac24de252b0b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 2 Feb 2013 10:40:55 +0100 Subject: [PATCH] New package: adobe-flash-plugin11.1-11.1.102.63 (requested by sasquatch). --- srcpkgs/adobe-flash-plugin11.1/template | 46 +++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 srcpkgs/adobe-flash-plugin11.1/template diff --git a/srcpkgs/adobe-flash-plugin11.1/template b/srcpkgs/adobe-flash-plugin11.1/template new file mode 100644 index 0000000000..d46e3add6a --- /dev/null +++ b/srcpkgs/adobe-flash-plugin11.1/template @@ -0,0 +1,46 @@ +# Template file for 'adobe-flash-plugin11.1' +pkgname=adobe-flash-plugin11.1 +version=11.1.102.63 +revision=1 +# The EULA file +_eula="http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf" +_eulacksum=3cb0a5f4576be735abcff7189ed18eda17c70b762c3a78a3379b6f44395fbc10 +_url=http://fpdownload.macromedia.com/get/flashplayer/pdc/${version} +if [ "$XBPS_MACHINE" = "x86_64" ]; then + _disttarball="http://arm.konnichi.com/extra/os/x86_64/flashplugin-${version}-1-x86_64.pkg.tar.xz" + _distcksum=ce02c0f1ca32d231370d092cb068b23406d27e2a37b15b7e4193a9798999fb77 +else + _disttarball="http://arm.konnichi.com/extra/os/i686/flashplugin-${version}-1-i686.pkg.tar.xz" + _distcksum=ee742e536c9ede8e3d9f46b92e4b6856b63e47f489c2dba10087da21ef701153 +fi +distfiles="${_eula} ${_disttarball}" +checksum="${_eulacksum} ${_distcksum}" +skip_extraction="$(basename ${_eula})" +short_desc="Adobe Flash Player plugin (11.1 series)" +homepage="http://www.adobe.com" +license="Propietary license - adobe" +maintainer="Juan RP " + +nonfree=yes # restricted use +create_srcdir=yes +create_wrksrc=yes +provides="adobe-flash-plugin-${version}" +replaces="adobe-flash-plugin>=0" + +depends="curl hicolor-icon-theme desktop-file-utils" + +do_install() { + vinstall usr/lib/mozilla/plugins/libflashplayer.so 755 usr/lib/mozilla/plugins + #vinstall usr/lib/kde4/kcm_adobe_flash_player.so 755 usr/lib/kde4 + vinstall usr/bin/flash-player-properties 755 usr/bin + for i in 16x16 22x22 24x24 32x32 48x48; do + vinstall usr/share/icons/hicolor/${i}/apps/flash-player-properties.png \ + 644 usr/share/icons/hicolor/${i}/apps + done + vinstall usr/share/applications/flash-player-properties.desktop 644 \ + usr/share/applications + vinstall usr/share/kde4/services/kcm_adobe_flash_player.desktop 644 \ + usr/share/kde4/services + vinstall "${XBPS_SRCDISTDIR}/${pkgname}-${version}/$(basename ${_eula})" 644 \ + usr/share/licenses/${pkgname} LICENSE.pdf +}