archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / pdfjs-legacy / repos / community-any / PKGBUILD
blob2a22195c8fa6f0012639688a5cc491032e4853f6
1 # Maintainer: Morten Linderud <foxboron@archlinux.org>
2 # Contributor: Pierre Neidhardt <ambrevar@gmail.com>
3 # Contributor: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
5 pkgname=pdfjs-legacy
6 pkgver=3.6.172
7 pkgrel=1
8 pkgdesc="PDF reader in javascript - legacy distribution"
9 conflicts=(pdfjs)
10 arch=('any')
11 url="https://mozilla.github.io/pdf.js/"
12 license=('Apache')
13 source=("https://github.com/mozilla/pdf.js/releases/download/v${pkgver}/pdfjs-${pkgver}-legacy-dist.zip")
14 sha256sums=('bff1d8edc7d1553d477e7cbf5541222221aa34d70e97bb5ffc4ebd8a7a46eee1')
16 package() {
17   mkdir -p "$pkgdir/usr/share/pdf.js"
18   cp -R "$srcdir"/{LICENSE,build,web} "$pkgdir/usr/share/pdf.js"
19   find "$pkgdir" -type f -exec chmod 644 {} \;