diff options
author | Anthony VanBerkum | 2016-01-10 10:25:31 -0500 |
---|---|---|
committer | Anthony VanBerkum | 2016-01-10 10:25:31 -0500 |
commit | 6f7c00412ea085a9a30144c7b838153b7c4bfbc0 (patch) | |
tree | a339463a669a267e517a66bd4c051caa924b1be4 | |
download | aur-6f7c00412ea085a9a30144c7b838153b7c4bfbc0.tar.gz |
First PKGBUILD for lyluatex-git.
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 27 | ||||
-rw-r--r-- | lyluatex.install | 18 |
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9a85d327f468 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +# Generated by mksrcinfo v8 +# Sun Jan 10 15:25:11 UTC 2016 +pkgbase = lyluatex-git + pkgdesc = Command-line tool to typeset Gregorian chant + pkgver = r43.5dcb34b + pkgrel = 1 + url = http://gregorio-project.github.io + install = lyluatex.install + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + depends = texlive-core + depends = texlive-fontsextra + depends = texlive-bin + depends = texlive-formatsextra + depends = texlive-latexextra + depends = lilypond + source = lyluatex-git::git+https://github.com/jperon/lyluatex.git + sha256sums = SKIP + +pkgname = lyluatex-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..588fe94ce450 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Br Anthony VanBerkum <anthonyvbop AT gmail DOT com> +pkgbase=lyluatex-git +pkgname=$pkgbase +pkgver=r43.5dcb34b +pkgrel=1 +pkgdesc="Command-line tool to typeset Gregorian chant" +url=http://gregorio-project.github.io +arch=("i686" "x86_64") +license=("GPL") +makedepends=("git") +depends=("texlive-core" "texlive-fontsextra" "texlive-bin" "texlive-formatsextra" "texlive-latexextra" "lilypond") +install=lyluatex.install +source=("$pkgbase::git+https://github.com/jperon/lyluatex.git") +sha256sums=("SKIP") + + +pkgver() { + cd "$srcdir/$pkgbase/" + echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +package() { + cd "$srcdir/$pkgbase/" + mkdir -p $pkgdir/usr/share/texmf-dist/tex/luatex/lyluatex || return 1 + cp lyluatex.sty $pkgdir/usr/share/texmf-dist/tex/luatex/lyluatex || return 1 + cp lyluatex.lua $pkgdir/usr/share/texmf-dist/tex/luatex/lyluatex || return 1 +} diff --git a/lyluatex.install b/lyluatex.install new file mode 100644 index 000000000000..64fed1273ce8 --- /dev/null +++ b/lyluatex.install @@ -0,0 +1,18 @@ +# Maintainer: Anthony VanBerkum <anthonyvbop AT gmail DOT com> + +post_install() { + _tex_update +} + +post_upgrade() { + _tex_update +} + +post_remove() { + _tex_update +} + +_tex_update() { + echo "Updating TeX database..." + mktexlsr +} |