summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/flashplugin/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-23 13:00:03 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-23 13:00:03 (GMT)
commitd605889115f15c2c628a12bd185bf3fd92b156ee (patch)
tree09587ba7f01dd38c7806c9afdab115b4016a567e /abs/extra-testing/community/flashplugin/PKGBUILD
parent4702175bc8bf5f1af5c16d6ddd02140d017b8e02 (diff)
downloadlinhes_pkgbuild-d605889115f15c2c628a12bd185bf3fd92b156ee.zip
linhes_pkgbuild-d605889115f15c2c628a12bd185bf3fd92b156ee.tar.gz
linhes_pkgbuild-d605889115f15c2c628a12bd185bf3fd92b156ee.tar.bz2
Initial community packages for various users.
Diffstat (limited to 'abs/extra-testing/community/flashplugin/PKGBUILD')
-rw-r--r--abs/extra-testing/community/flashplugin/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/extra-testing/community/flashplugin/PKGBUILD b/abs/extra-testing/community/flashplugin/PKGBUILD
new file mode 100644
index 0000000..1e68f40
--- /dev/null
+++ b/abs/extra-testing/community/flashplugin/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 21951 2008-12-18 13:25:19Z thomas $
+
+pkgname=flashplugin
+_licensefile='Reader_Player_WWEULA-Combined-20060724_1430.pdf'
+if [ "${CARCH}" = 'i686' ]; then
+ pkgver=10.0.15.3
+ pkgrel=1
+ source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz'
+ "http://www.adobe.com/products/eulas/pdfs/${_licensefile}")
+ md5sums=('afab0b40b0ae11445e2e90a4a9224a8a'
+ '844cea6c9afc13d9e27f28ce1a6e20f3')
+elif [ "${CARCH}" = 'x86_64' ]; then
+ pkgver=10.0.d21.1
+ pkgrel=1
+ source=("http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-${pkgver}.linux-x86_64.so.tar.gz"
+ "http://www.adobe.com/products/eulas/pdfs/${_licensefile}")
+ md5sums=('c165af9d4e324bfaf6d1cfbdbe959fbb'
+ '844cea6c9afc13d9e27f28ce1a6e20f3')
+else
+ error Unknown architecture.
+ exit 1
+fi
+pkgdesc='Adobe Flash Player'
+url='http://www.adobe.com/go/getflash'
+arch=('i686' 'x86_64')
+depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl')
+replaces=('flashplugin-beta')
+provides=('flashplayer')
+license=('custom')
+
+build() {
+ install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
+ if [ "${CARCH}" = 'i686' ]; then
+ install -m755 ${srcdir}/install_flash_player_10_linux/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
+ elif [ "${CARCH}" = 'x86_64' ]; then
+ install -m755 ${srcdir}/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
+ fi
+ install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
+ install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
+}