From 80dfbf2a4df000aa124d3b37e1e057be695ed54e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 3 Feb 2017 00:25:16 +0100 Subject: Update latex-beamer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- latex-beamer/PKGBUILD | 14 ++++++-------- latex-beamer/watch | 8 ++++---- 2 files changed, 10 insertions(+), 12 deletions(-) (limited to 'latex-beamer') diff --git a/latex-beamer/PKGBUILD b/latex-beamer/PKGBUILD index b109448..1521051 100644 --- a/latex-beamer/PKGBUILD +++ b/latex-beamer/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: Daniel Ehlers pkgname=latex-beamer -pkgver=3_36 +pkgver=3.41 pkgrel=1 pkgdesc='Beamer is a LaTeX class for creating slides for presentations.' arch=('any') @@ -10,17 +10,15 @@ url='http://bitbucket.org/rivanvx/beamer/wiki/Home' license=('GPL') install='latex-beamer.install' depends=('texlive-core') -source=("https://bitbucket.org/rivanvx/beamer/get/version-${pkgver//_/-}.tar.bz2") -sha256sums=('3a7ff9df09b65db9c65bd1d7b613540cf275adc5c2a7981dc27abd03e49bf735') +source=("https://github.com/josephwright/beamer/archive/v${pkgver}.tar.gz") +sha256sums=('e6e989e34347c15de875ddb1dc2423b1608777eb85f88118551229deb38789c8') package() { - cd rivanvx-beamer-* + cd "${srcdir}/beamer-${pkgver}" find . -name "*.sty" | xargs sed -i -e '/\ProvidesPackageRCS \$Header\$/ s/^/%/' - - install -d ${pkgdir}/usr/share/texmf-dist/tex/latex/beamer - - cp -r * ${pkgdir}/usr/share/texmf-dist/tex/latex/beamer + mkdir -p -- "${pkgdir}/usr/share/texmf-dist/tex/latex/beamer" + cp -r -- * "${pkgdir}/usr/share/texmf-dist/tex/latex/beamer" } diff --git a/latex-beamer/watch b/latex-beamer/watch index a2197fa..a6f2116 100755 --- a/latex-beamer/watch +++ b/latex-beamer/watch @@ -1,10 +1,10 @@ #!/bin/sh -[ -f 'downloads' ] && rm 'downloads' -wget https://bitbucket.org/rivanvx/beamer/downloads >/dev/null 2>/dev/null +[ -f 'releases' ] && rm 'releases' +wget https://github.com/christianbundy/sshcd/releases -O releases >/dev/null 2>/dev/null if [ $? = 0 ]; then [ -f unfetchable ] && rm unfetchable - grep ' Tags' < downloads | md5sum > new-sum + grep ' Tags' < releases | md5sum > new-sum touch sum if [ "$(cat sum)" = "$(cat new-sum)" ]; then rm new-sum @@ -12,7 +12,7 @@ if [ $? = 0 ]; then mv new-sum sum echo 'latex-beamer' fi - rm downloads + rm releases elif [ ! -f unfetchable ]; then touch unfetchable echo 'latex-beamer (unfetchable)' -- cgit v1.2.3-70-g09d2