diff options
author | cola4cube | 2015-11-16 10:30:30 +0100 |
---|---|---|
committer | cola4cube | 2015-11-16 10:30:30 +0100 |
commit | ce3abe6f34599ee80694da5906c4a5b79b6c1b97 (patch) | |
tree | 29a149eaee02f2d30ae381706cf2c25201cfe5cd | |
download | aur-ce3abe6f34599ee80694da5906c4a5b79b6c1b97.tar.gz |
Replaces beamer-theme-tub
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | beamer-theme-tub-git.install | 11 |
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cb4d6f09573b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by mksrcinfo v8 +# Mon Nov 16 09:26:17 UTC 2015 +pkgbase = beamer-theme-tub-git + pkgdesc = Unofficial Beamer theme for Technische Universität Berlin + pkgver = 1.0 + pkgrel = 4 + url = https://github.com/cola4cube/beamer-theme-tub + install = beamer-theme-tub-git.install + arch = any + license = MIT + makedepends = git + depends = texlive-core + provides = beamer-theme-tub-git + conflicts = beamer-theme-tub-git + replaces = beamer-theme-tub + source = git+https://github.com/cola4cube/beamer-theme-tub.git + md5sums = SKIP + +pkgname = beamer-theme-tub-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..01e547f7cf32 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Tony Ballhause <tony.ballhause@tu-berlin.de> +pkgname=beamer-theme-tub-git +pkgver=1.0 +pkgrel=4 +pkgdesc="Unofficial Beamer theme for Technische Universität Berlin" +arch=(any) +url="https://github.com/cola4cube/beamer-theme-tub" +license=('MIT') +depends=('texlive-core') +makedepends=('git') +provides=("${pkgname}") +conflicts=("${pkgname}") +replaces=('beamer-theme-tub') +source=("git+https://github.com/cola4cube/beamer-theme-tub.git") +install="${pkgname}.install" +sha512sum=('SKIP') +md5sums=('SKIP') + +package() { + TEXMFDIST=$(kpsewhich -var-value=TEXMFDIST) + cd "$srcdir/$pkgname" + mkdir -p ${pkgdir}/${TEXMFDIST}/tex/latex/beamer/themes/{theme,images,inner,outer} + + install -m644 images/TU_Logo_lang_RGB_red.pdf \ + "$pkgdir/$TEXMFDIST/tex/latex/beamer/themes/images/" + install -m644 theme/beamerthemeTUBlayout.sty \ + "$pkgdir/$TEXMFDIST/tex/latex/beamer/themes/theme/" + install -m644 theme/beamerinnerthemeTUBlayout.sty \ + "$pkgdir/$TEXMFDIST/tex/latex/beamer/themes/inner/" + install -m644 theme/beamerouterthemeTUBlayout.sty \ + "$pkgdir/$TEXMFDIST/tex/latex/beamer/themes/outer/" +} diff --git a/beamer-theme-tub-git.install b/beamer-theme-tub-git.install new file mode 100644 index 000000000000..7cd627736680 --- /dev/null +++ b/beamer-theme-tub-git.install @@ -0,0 +1,11 @@ +post_install() { + texhash +} + +post_upgrade() { + texhash +} + +post_remove() { + texhash +} |