aboutsummaryrefslogtreecommitdiffstats
path: root/latex-beamer/PKGBUILD
blob: 1521051693b6923fe3f0fadfbfb9fa7ee38b67e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
# Contributor: Daniel Ehlers <danielehlers@mindeye.net>

pkgname=latex-beamer
pkgver=3.41
pkgrel=1
pkgdesc='Beamer is a LaTeX class for creating slides for presentations.'
arch=('any')
url='http://bitbucket.org/rivanvx/beamer/wiki/Home'
license=('GPL')
install='latex-beamer.install'
depends=('texlive-core')
source=("https://github.com/josephwright/beamer/archive/v${pkgver}.tar.gz")
sha256sums=('e6e989e34347c15de875ddb1dc2423b1608777eb85f88118551229deb38789c8')


package() {
  cd "${srcdir}/beamer-${pkgver}"

  find . -name "*.sty" | xargs sed -i -e '/\ProvidesPackageRCS \$Header\$/ s/^/%/'
  mkdir -p -- "${pkgdir}/usr/share/texmf-dist/tex/latex/beamer"
  cp -r -- * "${pkgdir}/usr/share/texmf-dist/tex/latex/beamer"
}