diff options
author | Davi da Silva Böger | 2015-08-25 13:57:50 -0300 |
---|---|---|
committer | Davi da Silva Böger | 2015-08-25 13:57:50 -0300 |
commit | 063d38c7629229c8e51615e3eefe2205ae0357a2 (patch) | |
tree | 91e252fb48f9d1e08521707206d9990096c2cc69 | |
download | aur-063d38c7629229c8e51615e3eefe2205ae0357a2.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 36 | ||||
-rw-r--r-- | texlive-sbc-bookchapter.install | 17 |
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1558dc85f32b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = texlive-sbc-bookchapter + pkgdesc = LaTeX class for Brazilian Computer Society book chapters + pkgver = 20111103 + pkgrel = 1 + url = http://www.sbc.org.br/ + install = texlive-sbc-bookchapter.install + arch = any + license = LPPL + depends = texlive-core + optdepends = texlive-sbc-article: for sbc bibtex style + source = sbc-bookchapter.zip::http://www.sbc.org.br/index.php?option=com_jdownloads&Itemid=195&task=finish&cid=102&catid=32 + sha512sums = 4521c246c0840c65ca2c66a308da82b3449d37f2bf610220a8af62e98edfdecf6b5095cdead945fe493ac968d0f4ff3ea838057fda731481d93edb077e6b4e21 + +pkgname = texlive-sbc-bookchapter + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ef80c4190e9b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Davi da Silva Böger <dsboger@gmail.com> +pkgname=texlive-sbc-bookchapter +pkgver=20111103 +pkgrel=1 +pkgdesc='LaTeX class for Brazilian Computer Society book chapters' +arch=('any') +url="http://www.sbc.org.br/" +license=('LPPL') +depends=('texlive-core') +optdepends=('texlive-sbc-article: for sbc bibtex style') +install=$pkgname.install +_filename='sbc-bookchapter.zip' +source=("$_filename::http://www.sbc.org.br/index.php?option=com_jdownloads&Itemid=195&task=finish&cid=102&catid=32") +sha512sums=('4521c246c0840c65ca2c66a308da82b3449d37f2bf610220a8af62e98edfdecf6b5095cdead945fe493ac968d0f4ff3ea838057fda731481d93edb077e6b4e21') + +package() { + cd "${srcdir}"'/SBCbookchapter Folder/' + + # style class + install -Dm644 SBCbookchapter.cls \ + "${pkgdir}/usr/share/texmf-dist/tex/latex/sbc-bookchapter/SBCbookchapter.cls" + + # example document + install -Dm644 sample-bookchapter.tex \ + "${pkgdir}/usr/share/texmf-dist/tex/latex/sbc-bookchapter/example/sample-bookchapter.tex" + install -Dm644 fig1.jpg \ + "${pkgdir}/usr/share/texmf-dist/tex/latex/sbc-bookchapter/example/fig1.jpg" + install -Dm644 fig2.jpg \ + "${pkgdir}/usr/share/texmf-dist/tex/latex/sbc-bookchapter/example/fig2.jpg" + install -Dm644 fig1.eps \ + "${pkgdir}/usr/share/texmf-dist/tex/latex/sbc-bookchapter/example/fig1.eps" + install -Dm644 fig2.eps \ + "${pkgdir}/usr/share/texmf-dist/tex/latex/sbc-bookchapter/example/fig2.eps" + install -Dm644 sample-bookchapter.pdf \ + "${pkgdir}/usr/share/texmf-dist/tex/latex/sbc-bookchapter/example/sample-bookchapter.pdf" +} diff --git a/texlive-sbc-bookchapter.install b/texlive-sbc-bookchapter.install new file mode 100644 index 000000000000..aab5fac4d250 --- /dev/null +++ b/texlive-sbc-bookchapter.install @@ -0,0 +1,17 @@ +# arg 1: the new package version +post_install() { + texconfig-sys rehash + updmap-sys --quiet --nohash +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install +} + +# arg 1: the old package version +post_remove() { + post_install +} + |