diff options
author | Niklas Hedlund | 2015-10-01 17:58:57 +0200 |
---|---|---|
committer | Niklas Hedlund | 2015-10-01 17:58:57 +0200 |
commit | 19d994e5fce5bf006d0162769a7526a28c8a3463 (patch) | |
tree | 4923996494f0a8656b70d7b871cf987e8828215e | |
download | aur-texlive-screenplay.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | texlive-screenplay.install | 13 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..66311d306386 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = texlive-screenplay + pkgdesc = A LaTeX package for screenplay writing + pkgver = 1.6 + pkgrel = 1 + url = http://www.ctan.org/tex-archive/macros/latex/contrib/screenplay + install = texlive-screenplay.install + arch = any + license = GPL + depends = texlive-core + source = http://mirrors.ctan.org/macros/latex/contrib/screenplay.zip + md5sums = 57ae9a3840985984b84cfe68a607f529 + +pkgname = texlive-screenplay + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d67507c74667 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Original autor: John Pate +# Maintainer: Niklas Hedlund nojan1989@gmail.com + +pkgname=texlive-screenplay +pkgver=1.6 +pkgrel=1 +license=('GPL') +depends=('texlive-core') +pkgdesc="A LaTeX package for screenplay writing" +url="http://www.ctan.org/tex-archive/macros/latex/contrib/screenplay" +arch=('any') +install=texlive-screenplay.install +source=(http://mirrors.ctan.org/macros/latex/contrib/screenplay.zip) +md5sums=('57ae9a3840985984b84cfe68a607f529') + +build() +{ + cd $srcdir/screenplay + latex screenplay.ins +} + +package() +{ + cd $srcdir/screenplay + + mkdir -p $pkgdir/usr/share/texmf/tex/latex/screenplay + cp {screenplay.cls,example.tex,hardmarg.sty} $pkgdir/usr/share/texmf/tex/latex/screenplay + + mkdir -p $pkgdir/usr/share/doc/texlive-screenplay + cp screenplay.pdf $pkgdir/usr/share/doc/texlive-screenplay/documentation.pdf +} diff --git a/texlive-screenplay.install b/texlive-screenplay.install new file mode 100644 index 000000000000..1b335f411729 --- /dev/null +++ b/texlive-screenplay.install @@ -0,0 +1,13 @@ +post_install() { + post_remove +} + +post_upgrade() { + post_install +} + +post_remove() { + echo "Upgrading package database..." + mktexlsr +} + |