From d448b681fe3feef23e4df4959396300557504952 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 9 Aug 2011 21:00:21 +0000
Subject: mozplugger-chromium: Replaces mozplugger

---
 abs/extra/community/mozplugger-chromium/PKGBUILD  | 35 +++++++++++++++++++++++
 abs/extra/community/mozplugger/ChangeLog          |  7 -----
 abs/extra/community/mozplugger/PKGBUILD           | 26 -----------------
 abs/extra/community/mozplugger/mozplugger.install | 15 ----------
 4 files changed, 35 insertions(+), 48 deletions(-)
 create mode 100644 abs/extra/community/mozplugger-chromium/PKGBUILD
 delete mode 100644 abs/extra/community/mozplugger/ChangeLog
 delete mode 100644 abs/extra/community/mozplugger/PKGBUILD
 delete mode 100644 abs/extra/community/mozplugger/mozplugger.install

diff --git a/abs/extra/community/mozplugger-chromium/PKGBUILD b/abs/extra/community/mozplugger-chromium/PKGBUILD
new file mode 100644
index 0000000..e058615
--- /dev/null
+++ b/abs/extra/community/mozplugger-chromium/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Thanks to: Giuseppe Borzi <gborzi@ieee.org>
+# Contributor: fs4000 <matthias_dienstbier[at]yahoo[dot]de>
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: Todd Musall <tmusall@comcast.net>
+pkgname=mozplugger-chromium
+pkgver=1.14.3
+pkgrel=3
+pkgdesc="A Mozilla multimedia plugin for Chromium"
+arch=('x86_64' 'i686')
+url="http://mozplugger.mozdev.org"
+license=('GPL')
+depends=('libx11')
+backup=('etc/mozpluggerrc')
+conflicts=('mozplugger')
+source=("http://mozplugger.mozdev.org/files/mozplugger-$pkgver.tar.gz")
+md5sums=('ac2f916ac93c3b59dec2ebfc511d00a0')
+
+build() {
+  cd "mozplugger-$pkgver"
+  msg2 "Configuring..."
+  ./configure --prefix="$pkgdir/usr" --exec-prefix="$pkgdir/usr/bin" \
+    --enable-always-xembed --sysconfdir="/etc"
+  msg2 "Building..."
+  make
+  msg2 "Packaging..."
+  gzip mozplugger.7
+  install -Dm644 mozplugger.7.gz "$pkgdir/usr/share/man/man7/mozplugger.7.gz"
+  install -Dm644 mozpluggerrc "$pkgdir/etc/mozpluggerrc"
+  install -Dm644 mozplugger.so "$pkgdir/usr/lib/mozilla/plugins/mozplugger.so"
+  install -Dm755 mozplugger-controller "$pkgdir/usr/bin/mozplugger-controller"
+  install -Dm755 mozplugger-helper "$pkgdir/usr/bin/mozplugger-helper"
+  install -Dm755 mozplugger-linker "$pkgdir/usr/bin/mozplugger-linker"
+}
+# vim:set ts=2 sw=2 et:
diff --git a/abs/extra/community/mozplugger/ChangeLog b/abs/extra/community/mozplugger/ChangeLog
deleted file mode 100644
index 048d061..0000000
--- a/abs/extra/community/mozplugger/ChangeLog
+++ /dev/null
@@ -1,7 +0,0 @@
-2008-12-07  Allan McRae <allan@archlinux.org>
-	* mozplugger 1.12.0-1
-	* upstream update
-
-2008-01-14  JJDaNiMoTh <jjdanimoth.aur@gmail.com>
-	* Version bump to 1.10.1
-	* Added mozplugger.install
diff --git a/abs/extra/community/mozplugger/PKGBUILD b/abs/extra/community/mozplugger/PKGBUILD
deleted file mode 100644
index b2fdbcd..0000000
--- a/abs/extra/community/mozplugger/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD,v 1.14 2008/12/07 05:27:24 allan Exp $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: Todd Musall <tmusall@comcast.net>
-
-pkgname=mozplugger
-pkgver=1.12.0
-pkgrel=1
-pkgdesc="A Mozilla & Firefox multimedia plugin."
-arch=('i686' 'x86_64')
-url="http://mozplugger.mozdev.org"
-license="GPL"
-depends=('libx11')
-backup=(etc/mozpluggerrc)
-source=(http://$pkgname.mozdev.org/files/$pkgname-$pkgver.tar.gz)
-md5sums=('6d4dd7b1c577f625c9d664532389d6db')
-install=$pkgname.install
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  make linux || return 1
-  install -Dm755 mozplugger.so $pkgdir/usr/lib/mozilla/plugins/mozplugger.so
-  install -Dm644 mozpluggerrc $pkgdir/etc/mozpluggerrc
-  install -Dm755 mozplugger-helper $pkgdir/usr/bin/mozplugger-helper
-  install -Dm755 mozplugger-controller $pkgdir/usr/bin/mozplugger-controller
-  install -Dm644 mozplugger.7 $pkgdir/usr/share/man/man7/mozplugger.7
-}
diff --git a/abs/extra/community/mozplugger/mozplugger.install b/abs/extra/community/mozplugger/mozplugger.install
deleted file mode 100644
index 1a08b9d..0000000
--- a/abs/extra/community/mozplugger/mozplugger.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- echo -en "
-==> You may need to delete your local $HOME/.mozilla/firefox/pluginreg.dat 
-==> file for mozplugger to be enabled correctly after you update it. 
-==> (It will get regenerated). 
-==> To add more helpers, edit /etc/mozpluggerrc. 
-==> The window name can be obtained using the utility xprop(1x).
-==> Type "xprop WM_CLASS" and click on a window.\n"
-}
-
-post_upgrade() {
-  post_install
-}
-
-# vim:set ts=2 sw=2 et:
-- 
cgit v0.12