diff options
author | Kirill Gagarski | 2015-06-09 18:49:09 +0300 |
---|---|---|
committer | Kirill Gagarski | 2015-06-09 18:49:09 +0300 |
commit | d706ddf440400d20a8e9bca9545d4f24360e22ff (patch) | |
tree | 1c99f3fa2ecf61de7885dca9b62206afb3d1291b | |
download | aur-d706ddf440400d20a8e9bca9545d4f24360e22ff.tar.gz |
Initial
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 27 | ||||
-rw-r--r-- | texlive-csse-fcs.install | 13 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5f9a7d8960a1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = texlive-csse-fcs-hg + pkgdesc = LaTeX class for dissertations at http://kspt.icc.spbstu.ru/ + pkgver = a1b0638 + pkgrel = 5 + url = https://bitbucket.org/ice_phoenix/csse-fcs-latex/ + install = texlive-csse-fcs.install + arch = any + license = LPPL + makedepends = mercurial + depends = texlive-core + depends = texlive-langcyrillic + provides = texlive-csse-fcs + conflicts = texlive-csse-fcs + source = hg+https://bitbucket.org/ice_phoenix/csse-fcs-latex + md5sums = SKIP + +pkgname = texlive-csse-fcs-hg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..33f7831caf9e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +#Original author: Marat Akhin <akhin [at] kspt.icc.spbstu.ru> +#Maintainer: Kirill Gagarski <gagarski [at] kspt.icc.spbstu.ru> +pkgname=texlive-csse-fcs-hg +pkgver=a1b0638 +pkgrel=5 +pkgdesc="LaTeX class for dissertations at http://kspt.icc.spbstu.ru/" +arch=('any') +url="https://bitbucket.org/ice_phoenix/csse-fcs-latex/" +license=('LPPL') +makedepends=('mercurial') +depends=('texlive-core' 'texlive-langcyrillic') +provides=('texlive-csse-fcs') +conflicts=('texlive-csse-fcs') +install=texlive-csse-fcs.install + +_hgrepo="csse-fcs-latex" +source=("hg+https://bitbucket.org/ice_phoenix/$_hgrepo") +md5sums=("SKIP") +package() { + mkdir -p "$pkgdir/usr/share/texmf-dist/tex/latex/csse-fcs" + cp -r $srcdir/$_hgrepo/* "$pkgdir/usr/share/texmf-dist/tex/latex/csse-fcs/" +} + +pkgver() { + cd "$srcdir/$_hgrepo" + hg identify -n +}
\ No newline at end of file diff --git a/texlive-csse-fcs.install b/texlive-csse-fcs.install new file mode 100644 index 000000000000..25b85ec2f624 --- /dev/null +++ b/texlive-csse-fcs.install @@ -0,0 +1,13 @@ +post_install() { + post_remove +} + +post_upgrade() { + post_install +} + +post_remove() { + echo "Upgrading LaTeX package database..." + mktexlsr +} +
\ No newline at end of file |