aboutsummaryrefslogtreecommitdiffstats
path: root/main/swfdec-mozilla/APKBUILD
blob: 188f3c125d0e56cd6d426432097952158777d008 (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
29
30
31
32
33
34
35
36
37
38
# 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"

_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="716632e0d35b3c1582c180569ba30346  swfdec-mozilla-0.8.2.tar.gz"
sha256sums="49fd905f41b67832e7b2cfa2cf664657ab08f8fef4a2324e74202fc951396cd5  swfdec-mozilla-0.8.2.tar.gz"
sha512sums="47e70610722be17b2dfe81180a28c8dd8dd454009cc301ddd9caa650b530e2c452276f5cbfab9c7194167a54a3ef3a27f76254e725c4b7aa7fa38e8f3b703411  swfdec-mozilla-0.8.2.tar.gz"