1 # Maintainer: Michael Witten <mfwitten>
3 pkgname=flashplugin-10.1
6 pkgdesc="An older version of flashplugin"
7 url=http://kb2.adobe.com/cps/142/tn_14266.html
10 conflicts=(flashplugin)
14 depends=(mozilla-common libxt gtk2 nss curl)
17 source=(http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp_10.1.102.64_and_9.0.289.0_archive.zip)
18 md5sums=(015e07f77169b8f5ca388b065b1c9071)
20 _archive=$(basename "${source[0]}")
21 noextract=("$_archive")
29 local directory tarball license;
30 directory="${_archive%.*}/Flash Player 10.1.102.64"
31 tarball=$directory/10_1r102_64/flashplayer10_1r102_64_linux.tar.gz
32 license=$directory/readme.txt
34 install -d -m755 "$pkgdir/usr/lib/mozilla/plugins"
35 install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
36 install -d -m755 "$pkgdir/etc/adobe"
38 unzip -p "$_archive" "$tarball" |
39 tar -zx -C "$pkgdir/usr/lib/mozilla/plugins" libflashplayer.so
41 unzip -p "$_archive" "$license" > "$pkgdir/usr/share/licenses/$pkgname/readme.txt"