From db8b086bf52573bdc3b8d632028753ac8ab15487 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 3 Jun 2013 20:27:18 +0200 Subject: adopt texlive-europecv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- texlive-europecv/PKGBUILD | 16 ++++++++++++++++ texlive-europecv/watch | 21 +++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 texlive-europecv/PKGBUILD create mode 100755 texlive-europecv/watch (limited to 'texlive-europecv') diff --git a/texlive-europecv/PKGBUILD b/texlive-europecv/PKGBUILD new file mode 100644 index 0000000..23e0604 --- /dev/null +++ b/texlive-europecv/PKGBUILD @@ -0,0 +1,16 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +pkgname=texlive-europecv +pkgver=1 +pkgrel=1 +pkgdesc='Unofficial class for European curricula vitæ' +arch=('any') +url='http://www.ctan.org/tex-archive/macros/latex/contrib/europecv/' +license=('GPL') +depends=('texlive-latexextra') +source=("europecv-${pkgver}.zip"::"http://mirror.ctan.org/macros/latex/contrib/europecv.zip") +md5sums=('502654da6a5b5159e1e1f58cd792d327') + +package() { + install -d "$pkgdir"/usr/share/texmf/tex/latex + cp -r europecv "$pkgdir"/usr/share/texmf/tex/latex +} diff --git a/texlive-europecv/watch b/texlive-europecv/watch new file mode 100755 index 0000000..51ec975 --- /dev/null +++ b/texlive-europecv/watch @@ -0,0 +1,21 @@ +#!/bin/sh + +[ -f europecv.release ] && rm europecv.release + +wget 'http://mirror.ctan.org/macros/latex/contrib/europecv.zip' -O europecv.release >/dev/null 2>/dev/null + +if [ $? = 0 ]; then + [ -f unfetchable ] && rm unfetchable + md5sum europecv.release > new-sum + touch sum + if [ "$(cat sum)" = "$(cat new-sum)" ]; then + rm new-sum + else + mv new-sum sum + echo 'texlive-europecv' + fi +elif [ ! -f unfetchable ]; then + touch unfetchable + echo 'texlive-europecv (unfetchable)' +fi + -- cgit v1.2.3-70-g09d2