diff options
Diffstat (limited to 'main/swfdec-mozilla/APKBUILD')
-rw-r--r-- | main/swfdec-mozilla/APKBUILD | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/main/swfdec-mozilla/APKBUILD b/main/swfdec-mozilla/APKBUILD index 40e462cb48..f9716209e2 100644 --- a/main/swfdec-mozilla/APKBUILD +++ b/main/swfdec-mozilla/APKBUILD @@ -10,9 +10,14 @@ makedepends="swfdec-dev" depends= source="http://swfdec.freedesktop.org/download/$pkgname/0.8/$pkgname-$pkgver.tar.gz" -build () -{ - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir/$pkgname-$pkgver" +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + +build() { + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -21,8 +26,14 @@ build () --with-plugin-dir=/usr/lib/mozilla/plugins/ \ || return 1 make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR="$pkgdir" install find "$pkgdir" -name '*.la' -delete } 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" |