# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=adobe-flashplayer
pkgver=27.0.0.183
pkgrel=0
pkgdesc="Adobe Flash player"
url="https://get.adobe.com/flashplayer/otherversions"
arch="x86_64"
license="non-free"
depends="libc6-compat mesa-gl"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://fpdownload.adobe.com/get/flashplayer/pdc/$pkgver/flash_player_npapi_linux.x86_64.tar.gz"

builddir="$srcdir"

build() {
	return 0
}

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"/usr/lib/mozilla/plugins
	install "$srcdir"/libflashplayer.so "$pkgdir"/usr/lib/mozilla/plugins/
}

sha512sums="a1992d432470dcab43aed4eb6db6fb499abf760f59eb8b6985de8f11164afc81509e1d5c3fa34c68671061e03b006e519edf6dcb17adf95c0877d16777a9435c  adobe-flashplayer-27.0.0.183.tar.gz"
