Last active
July 6, 2016 02:37
-
-
Save Gabrielgtx/8dbd1dda8af99136ba2ab059fc809d48 to your computer and use it in GitHub Desktop.
Macromedia standalone flash player (nonfree) / http://www.adobe.com/support/flashplayer/downloads.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| post_install() { | |
| update-desktop-database -q | |
| update-mime-database usr/share/mime &>/dev/null | |
| xdg-icon-resource forceupdate | |
| } | |
| post_upgrade() { | |
| post_install | |
| } | |
| post_remove() { | |
| post_install | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Desktop Entry] | |
| Type=Application | |
| Name=Adobe Flash Player | |
| Icon=flash | |
| Exec=flashplayer | |
| Terminal=false | |
| Categories=GTK;AudioVideo;Audio;Video;Player; | |
| MimeType=application/x-shockwave-flash; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkgname=flashplayer-standalone | |
| pkgver=11.2.202.616 | |
| pkgrel=1 | |
| pkgdesc="Macromedia standalone flash player (nonfree)" | |
| arch=('i686' 'x86_64') | |
| url="http://www.adobe.com/support/flashplayer/downloads.html" | |
| license=('custom') | |
| # License matrix: http://www.adobe.com/products/eulas/ | |
| depends=('desktop-file-utils' 'lib32-curl' 'lib32-gtk2' 'lib32-libxt' 'lib32-nss') | |
| makedepends_x86_64=() | |
| [[ $CARCH == "i686" ]] && depends=(${depends[@]/lib32-/}) | |
| options=(!strip) | |
| install=$pkgname.install | |
| source=("http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa.i386.tar.gz" | |
| "license.pdf::http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA-MULTI-20110809_1357.pdf" | |
| "flashplayer.desktop") | |
| sha512sums=('518b3dd494af2b10404b6039385ad304e6273f6bad3e57e5f77710c810f3e29c8220920ea221c1e9012a2e795fd0da4db7d419946ce8db1db19ccaa744e9ca46' | |
| 'a70fd7127f0f9d64f2c872d1e4634d93e24fdea165abfbe20724e68c1b7297df46362cb449b5a78d0eb4a68e43426965359ca93fd4ba4848d2542e5505bcd2fe' | |
| 'e4139b265896ebd276b4c7931d5718db7ac8b25e5e86decb2161c94d2b6b410dc7160667cda3a330ece40e64e7809d7afc5ddcc94e09352e84359fa4c7fe3e2d') | |
| package() { | |
| desktop-file-install flashplayer.desktop --dir "$pkgdir"/usr/share/applications/ | |
| install -Dm644 license.pdf "$pkgdir"/usr/share/licenses/$pkgname/license.pdf | |
| install -Dm755 flashplayer "$pkgdir"/usr/bin/flashplayer | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment