aboutsummaryrefslogtreecommitdiffstats
path: root/main/swfdec-mozilla/APKBUILD
blob: 39699fe2943193dbf43a3a7293afd7c2e5ce29c7 (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.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"