summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13fcdaae67055bf31b99a33c2e29091355f81ac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Michael Schubert <mschu.dev at gmail> https://github.com/mschubert/PKGBUILDs
pkgname=latex-media9
_pkgname=${pkgname#latex-}
pkgver=1.15
pkgrel=1
pkgdesc="Embed video/sound (SWF, MP4, FLV, MP3) files in PDFs"
arch=('any')
url="http://www.ctan.org/pkg/$_pkgname"
license=('LPPL')
depends=('texlive-core')
source=($_pkgname-$pkgver.zip::http://tug.ctan.org/tex-archive/install/macros/latex/contrib/$_pkgname.tds.zip)
install=$pkgname.install
noextract=($_pkgname.tds.zip)
sha256sums=('56c55049af11eec606886aaf5e3cf2200bf5657ad91a27d356753ab37cc51e49')

package() {
  install -dm755 "$pkgdir"/usr/share/texmf
  unzip -d "$pkgdir"/usr/share/texmf $_pkgname-$pkgver.zip
}