freshplayer: use example for wrapper.conf instead

This commit is contained in:
Chaoting Liu 2015-04-27 15:23:17 +00:00
parent 5f5335435b
commit 8ab1a2a585

View File

@ -1,6 +1,6 @@
pkgname=freshplayerplugin
pkgver=0.2.4
pkgrel=1
pkgrel=2
pkgdesc='PPAPI-host NPAPI-plugin adapter.'
arch=('x86_64')
url='https://github.com/i-rinat/freshplayerplugin'
@ -8,11 +8,9 @@ license=('MIT')
depends=('pepperflashplugin' 'pango' 'alsa-lib' 'freetype2' 'cairo' 'glib2' 'libpulse' 'libx11' 'libconfig' 'libevent' 'gtk2' 'libgl')
makedepends=('cmake' 'ragel')
conflicts=('freshplayerplugin-git' 'flashplugin' 'chromium-pepper-flash')
source=("$url/archive/v$pkgver.tar.gz"
'freshwrapper.conf')
source=("$url/archive/v$pkgver.tar.gz")
backup=('etc/freshwrapper.conf')
md5sums=('3c349dee9174fd460ecd9c9e21e2b696'
'dc542dce88ecfe34912a270fdf015e53')
md5sums=('3c349dee9174fd460ecd9c9e21e2b696')
build() {
cd $pkgname-$pkgver
@ -28,5 +26,6 @@ package() {
install -Dm755 $lib "$pkgdir"/usr/lib/mozilla/plugins/$lib
done
install -Dm644 $srcdir/freshwrapper.conf "$pkgdir/etc/freshwrapper.conf"
install -Dm644 $srcdir/$pkgname-$pkgver/data/freshwrapper.conf.example \
"$pkgdir/etc/freshwrapper.conf"
}