# Contributor: Carlo Landmeter # Maintainer: setvar pkgname = 'chromium-widevine' setvar pkgver = '1.4.8.1008' setvar pkgrel = '0' setvar pkgdesc = ""A browser plugin designed for the viewing of premium video content"" setvar url = ""https://www.widevine.com/"" setvar arch = ""x86 x86_64"" setvar license = ""custom"" setvar depends = ""chromium libc6-compat"" setvar makedepends = """" setvar install = """" setvar options = ""!strip !check"" setvar subpackages = """" setvar source = ""https://dl.google.com/widevine-cdm/$pkgver-linux-x64.zip https://dl.google.com/widevine-cdm/$pkgver-linux-ia32.zip "" setvar builddir = ""$srcdir/"" proc unpack { local i for i in $source{ case (i) { *32* { mkdir -p "$srcdir"/x86 unzip $SRCDEST/${i##*/} -d "$srcdir"/x86 } *64* { mkdir -p "$srcdir"/x86_64 unzip $SRCDEST/${i##*/} -d "$srcdir"/x86_64 } } } } proc build { return 0 } proc package { mkdir -p "$pkgdir"/usr/lib/chromium/ case (CARCH) { x86 { install -Dm644 "$srcdir"/x86/libwidevinecdm.so \ "$pkgdir"/usr/lib/chromium } x86_64 { install -Dm644 "$srcdir"/x86_64/libwidevinecdm.so \ "$pkgdir"/usr/lib/chromium } } } setvar sha512sums = ""37e037a5e0c320a6a577492050d86b2bbd00239610785b0f07326e6c47b6d1899ac4f6874ad1436982a95a13c11fd73e10e9287d88da0c1036dd6eb36fe91e65 1.4.8.1008-linux-x64.zip 5af0f41dddf3077c2977a775a3009c435569892f7efa2110932424fda3556d6ecee76fbb1e9633e72b72e09a92b0b7fa2ac159e1741b0d4cd94e095b6e121bce 1.4.8.1008-linux-ia32.zip""