diff options
author | gustawho | 2017-11-17 15:52:12 -0600 |
---|---|---|
committer | gustawho | 2017-11-17 15:52:12 -0600 |
commit | cea37aaa161b30be8db5fe0cbb22ab7ba04d148b (patch) | |
tree | 1bcab0f0b823c4b0a7bf88cdc4b243c83ed8c679 | |
download | aur-cea37aaa161b30be8db5fe0cbb22ab7ba04d148b.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | beamer-theme-hsrm-git.install | 6 |
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d62df9a2db05 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = beamer-theme-hsrm-git + pkgdesc = A pretty theme for LaTeX Beamer + pkgver = r10.600bcdc + pkgrel = 1 + url = https://github.com/benjamin-weiss/hsrmbeamertheme + install = beamer-theme-hsrm-git.install + arch = any + license = GLP + makedepends = git + depends = texlive-core + provides = beamer-theme-hsrm + conflicts = beamer-theme-hsrm + source = git://github.com/benjamin-weiss/hsrmbeamertheme.git + md5sums = SKIP + +pkgname = beamer-theme-hsrm-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d255e99c1ce1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com > + +pkgname=beamer-theme-hsrm-git +pkgver=r10.600bcdc +pkgrel=1 +pkgdesc="A pretty theme for LaTeX Beamer" +arch=(any) +url="https://github.com/benjamin-weiss/hsrmbeamertheme" +license=('GLP') +depends=('texlive-core') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +install="${pkgname}.install" +source=('git://github.com/benjamin-weiss/hsrmbeamertheme.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir"/hsrmbeamertheme + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir"/hsrmbeamertheme + mkdir -p $pkgdir/usr/share/texmf-dist/tex/latex/beamer/themes/theme + + install -m644 beamerthemehsrm.sty \ + "$pkgdir/usr/share/texmf-dist/tex/latex/beamer/themes/theme/" +} diff --git a/beamer-theme-hsrm-git.install b/beamer-theme-hsrm-git.install new file mode 100644 index 000000000000..840662286799 --- /dev/null +++ b/beamer-theme-hsrm-git.install @@ -0,0 +1,6 @@ +post_install() { + mktexlsr +} +post_remove() { + mktexlsr +}
\ No newline at end of file |