blob: f67183705976a66d949eec00cbd5bfed69caee10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Igor Mosyagin (cra) <c6h10o5@gmail.com>
pkgname=beamer-theme-liu-git
pkgver=r2.0d23bc0
pkgrel=3
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 ${pkgdir}/${TEXMFDIST}/${THEMEDIR}
for tag in '' color font inner outer
do
install -m644 ${THEMEDIR}/beamer${tag}themeLiU.sty \
"$pkgdir/${TEXMFDIST}/${THEMEDIR}/"
done
MEDIADIR=tex/generic/images/logo/liu
mkdir -p ${pkgdir}/${TEXMFDIST}/${MEDIADIR}
for file in ${MEDIADIR}/*
do
install -m644 ${file} "$pkgdir/${TEXMFDIST}/${file}"
done
}
|