aboutsummaryrefslogtreecommitdiffstats
path: root/community/npapi-sdk/APKBUILD
blob: b481b81b7e967aaaaf43ce0b5609bd67370ad1f5 (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
# 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"
source="https://bitbucket.org/mgorny/$pkgname/downloads/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="827d52fbc8eb601ac0e486aed267b1ca6cb8732c92f1224f4b38e039288b77d07d47c5d4cf384a3114403b85e7f086f345912f1b20b41d27785c9bb367514842  npapi-sdk-0.27.2.tar.bz2"