aboutsummaryrefslogtreecommitdiffstats
path: root/community/npapi-sdk/APKBUILD
blob: 3708d191a95c77ab9a2a7fcb57eace92004e8400 (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://github.com/mgorny/npapi-sdk"
arch="all"
license="MPL"
source="https://github.com/mgorny/$pkgname/releases/download/$pkgname-$pkgver/$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"