diff options
author | Igor Mosyagin @Hannelore | 2017-04-21 19:05:31 +0200 |
---|---|---|
committer | Igor Mosyagin @Hannelore | 2017-04-21 19:05:31 +0200 |
commit | 9ff5a16b5aace23d5840cb00dc7add3727f25bd9 (patch) | |
tree | 269fe50d0fd0aa32da8e0c70c34ca17bf9315a79 | |
download | aur-9ff5a16b5aace23d5840cb00dc7add3727f25bd9.tar.gz |
Add vetted version of liu theme
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rw-r--r-- | beamer-theme-liu-git.install | 11 |
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..21bddf311947 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = beamer-theme-liu-git + pkgdesc = Beamer theme of Linköping University + pkgver = r2.0d23bc0 + pkgrel = 1 + url = http://git.lysator.liu.se/osund/liu-beamer + install = beamer-theme-liu-git.install + arch = any + license = unknown + makedepends = git + depends = texlive-core + provides = beamer-theme-liu-git + source = git+https://git.lysator.liu.se/osund/liu-beamer.git + md5sums = SKIP + +pkgname = beamer-theme-liu-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7ce07d0881a9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Igor Mosyagin <c6h10o5@gmail.com> + +pkgname=beamer-theme-liu-git +pkgver=r2.0d23bc0 +pkgrel=1 +pkgdesc="Beamer theme of Linköping University" +arch=(any) +url="http://git.lysator.liu.se/osund/liu-beamer" +license=("unknown") +makedepends=('git') +provides=("${pkgname}") +depends=("texlive-core") +source=("git+https://git.lysator.liu.se/osund/liu-beamer.git") +install="${pkgname}.install" +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/liu-beamer" +# Git, no tags available + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + TEXMFDIST=$(kpsewhich -var-value=TEXMFDIST) + cd "$srcdir/liu-beamer" + + THEMEDIR=tex/latex/liu/liuslides + mkdir -p ${srcdir}/${TEXMFDIST}/${THEMEDIR} + + for tag in '' color font inner outer + do + install -m644 ${THEMEDIR}/beamer${tag}themeLiU.sty ${srcdir}/${TEXMFDIST}/${THEMEDIR}/ + done + + MEDIADIR=tex/generic/images/logo/liu + mkdir -p ${srcdir}/${TEXMFDIST}/${MEDIADIR} + for file in ${MEDIADIR}/* + do + install -m644 ${file} ${srcdir}/${TEXMFDIST}/${file} + done +} diff --git a/beamer-theme-liu-git.install b/beamer-theme-liu-git.install new file mode 100644 index 000000000000..7cd627736680 --- /dev/null +++ b/beamer-theme-liu-git.install @@ -0,0 +1,11 @@ +post_install() { + texhash +} + +post_upgrade() { + texhash +} + +post_remove() { + texhash +} |