summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-05 16:19:15 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-05 23:48:38 -0300
commit2a3792dd9be1e759d522e3b6b260d688748d8138 (patch)
tree6c64080a2e8d4bb1c0a3a6f28992b26ec48e1e9b
parent9c7734952a39d6d9435cc434c728e85c434d6420 (diff)
downloadabslibre-2a3792dd9be1e759d522e3b6b260d688748d8138.tar.gz
abslibre-2a3792dd9be1e759d522e3b6b260d688748d8138.tar.bz2
abslibre-2a3792dd9be1e759d522e3b6b260d688748d8138.zip
webp-npapi: add new package to [pcr]
-rw-r--r--pcr/webp-npapi/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/webp-npapi/PKGBUILD b/pcr/webp-npapi/PKGBUILD
new file mode 100644
index 000000000..9e11ddc87
--- /dev/null
+++ b/pcr/webp-npapi/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Márcio Silva <coadde@parabola.nu>
+
+pkgname=webp-npapi
+pkgver=1.0.0.0
+pkgrel=1
+pkgdesc="A WebP plugin for NPAPI-compliant browsers on GNU/Linux"
+arch=('i686' 'x86_64' 'mips64el')
+url="https://code.google.com/p/webp-npapi-linux/"
+license=('APACHE')
+depends=('libwebp')
+makedepends=('subversion' 'gtk2')
+source=('webp-npapi::svn+https://webp-npapi-linux.googlecode.com/svn/trunk/'
+ 'ftp://gnu.mirror.iweb.com/icecat/4.0/icecat-4.0.tar.xz')
+md5sums=('SKIP'
+ '04548bfd70e6a66cd75cdb1f1fc81eb4')
+options=('!makeflags')
+
+prepare() {
+ cd "$srcdir/webp-npapi"
+ sed -i 's|[.][.][/][.][.][/]include[/]|../icecat-4.0/modules/plugin/base/public/|g;
+ ' webp-npapi.h \
+ CPlugin.h
+}
+
+build() {
+ cd "$srcdir/webp-npapi"
+ make all
+}
+
+package() {
+ cd "$srcdir/webp-npapi"
+ install -d "$pkgdir/usr/lib/mozilla/plugins/"
+ install -m644 *.so "$pkgdir/usr/lib/mozilla/plugins/"
+}