blob: c2b9a070678c57ce6b8f4706768076f9c7208a54 (
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
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=npapi-sdk
pkgver=0.27.2
pkgrel=0
pkgdesc="Netscape Plugin API (NPAPI)"
url="https://bitbucket.org/mgorny/npapi-sdk"
arch="all"
license="MPL"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="https://bitbucket.org/mgorny/npapi-sdk/downloads/npapi-sdk-$pkgver.tar.bz2"
_builddir="$srcdir"/npapi-sdk-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="e81db61e206cd615cf56c4a9f301e636 npapi-sdk-0.27.2.tar.bz2"
sha256sums="01bf34bdd0fcaa546ba3d5c96f5d91f91dd117d4ed5ffe13f56bbd5aa566ae77 npapi-sdk-0.27.2.tar.bz2"
sha512sums="827d52fbc8eb601ac0e486aed267b1ca6cb8732c92f1224f4b38e039288b77d07d47c5d4cf384a3114403b85e7f086f345912f1b20b41d27785c9bb367514842 npapi-sdk-0.27.2.tar.bz2"
|