summaryrefslogtreecommitdiffstats
path: root/main/swfdec-mozilla/APKBUILD
blob: 40e462cb482d6fedf7d5dac6a3b55f9ef2e7f574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=swfdec-mozilla
pkgver=0.8.2
pkgrel=5
pkgdesc="free plugin for Mozilla browsers that uses the Swfdec library for playing SWF files"
url="http://swfdec.freedesktop.org"
arch="all"
license="LGPL"
makedepends="swfdec-dev"
depends=
source="http://swfdec.freedesktop.org/download/$pkgname/0.8/$pkgname-$pkgver.tar.gz"

build ()
{
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--with-plugin-dir=/usr/lib/mozilla/plugins/ \
		|| return 1
	make || return 1
	make DESTDIR="$pkgdir" install
	find "$pkgdir" -name '*.la' -delete
}

md5sums="716632e0d35b3c1582c180569ba30346  swfdec-mozilla-0.8.2.tar.gz"