aboutsummaryrefslogtreecommitdiffstats
path: root/latex-beamer
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-02-03 00:25:16 +0100
committerMattias Andrée <maandree@kth.se>2017-02-03 00:25:16 +0100
commit80dfbf2a4df000aa124d3b37e1e057be695ed54e (patch)
tree4e8269d95fcb30653c80e2ad6c87443243a6bf4f /latex-beamer
parentUpdate libspoton, and working on spot-on (diff)
downloadaur-packages-80dfbf2a4df000aa124d3b37e1e057be695ed54e.tar.gz
aur-packages-80dfbf2a4df000aa124d3b37e1e057be695ed54e.tar.bz2
aur-packages-80dfbf2a4df000aa124d3b37e1e057be695ed54e.tar.xz
Update latex-beamer
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--latex-beamer/PKGBUILD14
-rwxr-xr-xlatex-beamer/watch8
2 files changed, 10 insertions, 12 deletions
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 <danielehlers@mindeye.net>
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 '</span> Tags' < downloads | md5sum > new-sum
+ grep '</span> 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)'