updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / flashplugin-lahf-fix / PKGBUILD
bloba57db1e4fcf878c7e854aeaccdbe3829f3e9d142
1 # PKGBUILD by Muhammed Uluyol <muhammedu@gmail.com>
2 pkgname=flashplugin-lahf-fix
3 pkgver=0.1
4 pkgrel=2
5 pkgdesc="Workaround for some flash crashes on x86_64 machines with older machines"
6 arch=('x86_64')
7 url="http://bugs.gentoo.org/attachment.cgi?id=198604&action=edit"
8 license=('GPL')
9 source=('flashplugin-lahf-fix.c')
10 md5sums=('4e34681409a6123eafe4753cf08c50bb')
12 build() {
13     cd ${srcdir}
14     gcc -fPIC -shared -nostdlib -lc -oflashplugin-lahf-fix.so flashplugin-lahf-fix.c || return 1
15     install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
16     install -m755 flashplugin-lahf-fix.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1