diff options
author | Josiah Schwab | 2015-10-05 10:02:56 -0700 |
---|---|---|
committer | Josiah Schwab | 2015-10-05 10:02:56 -0700 |
commit | ee17ecf6f4e7177b45e795bd89929285097187aa (patch) | |
tree | 0592c6662b965c22c1b132b085e9778519a2916f | |
download | aur-ee17ecf6f4e7177b45e795bd89929285097187aa.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 | ||||
-rw-r--r-- | texlive-emulateapj.install | 14 |
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9920e1b43eed --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = texlive-emulateapj + pkgdesc = A LaTeX2e class to emulate the Astrophysical Journal (ApJ) page layout + pkgver = 20150123 + pkgrel = 1 + url = http://hea-www.cfa.harvard.edu/~alexey/emulateapj/ + install = texlive-emulateapj.install + arch = i686 + arch = x86_64 + depends = texlive-core + provides = texlive-emulateapj + source = http://hea-www.harvard.edu/~alexey/emulateapj/emulateapj.cls + sha1sums = 1a44ba9c00398015d89d2f7b26dc2e37d22e0816 + +pkgname = texlive-emulateapj + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e38b87bf4a89 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Original author: Josiah Schwab <jschwab at gmail dot com> +# Maintainer: Josiah Schwab <jschwab at gmail dot com> + +pkgname=texlive-emulateapj +pkgdesc="A LaTeX2e class to emulate the Astrophysical Journal (ApJ) page layout" +pkgver=20150123 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://hea-www.cfa.harvard.edu/~alexey/emulateapj/" +depends=('texlive-core') +provides=('texlive-emulateapj') +install=texlive-emulateapj.install +source=('http://hea-www.harvard.edu/~alexey/emulateapj/emulateapj.cls') +sha1sums=('1a44ba9c00398015d89d2f7b26dc2e37d22e0816') + +package() { + + # an older version ships in texlive-latexextra + # which is installed to /usr/share/texmf-dist/tex/latex/emulateapj/ + + install -Dm644 emulateapj.cls $pkgdir/usr/share/texmf/tex/latex/emulateapj/emulateapj.cls + +} diff --git a/texlive-emulateapj.install b/texlive-emulateapj.install new file mode 100644 index 000000000000..f4251d47e30f --- /dev/null +++ b/texlive-emulateapj.install @@ -0,0 +1,14 @@ +post_install() { + post_remove + echo "The emulateapj.cls file was installed in:" + kpsewhich emulateapj.cls +} + +post_upgrade() { + post_install +} + +post_remove() { + echo "Upgrading package database..." + mktexlsr +} |