aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/swfdec-mozilla/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/swfdec-mozilla/APKBUILD')
-rw-r--r--unmaintained/swfdec-mozilla/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/swfdec-mozilla/APKBUILD b/unmaintained/swfdec-mozilla/APKBUILD
new file mode 100644
index 0000000000..39699fe294
--- /dev/null
+++ b/unmaintained/swfdec-mozilla/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=swfdec-mozilla
+pkgver=0.9.2
+pkgrel=0
+pkgdesc="free plugin for Mozilla browsers that uses the Swfdec library for playing SWF files"
+url="http://swfdec.freedesktop.org"
+arch="all !aarch64"
+license="LGPL"
+makedepends="swfdec-dev"
+depends=
+source="http://swfdec.freedesktop.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ --with-plugin-dir=/usr/lib/mozilla/plugins/ \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="5e19c365d02f1ece2e7caec13c2b23d4 swfdec-mozilla-0.9.2.tar.gz"
+sha256sums="8c8cfb52b47efabefab90577fb118ab2699c803cebbc82891700f8e2d712343b swfdec-mozilla-0.9.2.tar.gz"
+sha512sums="202681ad3d08058d72c6980cf90508968d9ce96aa88c86a545f2b5f5fdf107b488200bee444c829c4c5e30c3723ac98e797d5031afc27dc559319aac774db3fa swfdec-mozilla-0.9.2.tar.gz"