diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-09-08 22:54:05 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-09-08 22:54:05 +0200 |
commit | 4951c7721d3e3f5595c6898864b6d3b965538863 (patch) | |
tree | 3c7d5dfc0d827e01f14fd2bf4748a21a9739d817 /context-mkiv/PKGBUILD | |
parent | 0deacfaeff106661b9f949f042d3bdc66b7baca9 (diff) | |
download | arch-packages-master.tar.gz |
Diffstat (limited to 'context-mkiv/PKGBUILD')
-rw-r--r-- | context-mkiv/PKGBUILD | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/context-mkiv/PKGBUILD b/context-mkiv/PKGBUILD index 599bf95..e5df7e8 100644 --- a/context-mkiv/PKGBUILD +++ b/context-mkiv/PKGBUILD @@ -16,8 +16,8 @@ source=( \ context-setup-env.sh \ context-wrap-mtxrun.sh \ ) -sha512sums=('92ede9be2a244a065cd133e7300d3c807c212e588eb164d941bb89eda9f72601101b754235bce06442e0e75793ce2de99053f094a8510811d4c8e84e9f445993' - '1151100c043c25c2a09f04ee1ef067a0f81a6f17aafb88446bb168242d70a069e8b0d351263df31fe02fa662660325dc568e96944ed06b2cf65a24e4a127a750') +sha512sums=('f7b52dbede67e8c4a924e2700df93a843704045c3b00a17b593dbf7771ec7c857b48c7a6aa95c8bb4923a4c91e68adf63a6223f59c84c0fab3a6023ad0589aaa' + 'aa3f9fd05f438965576ad57f5ad1bb2d873b672586f29716e0a2087bde0edc3d3ccf1d0c67b503eb3140dd0ff87bc5be3b9e627867e229cbcddb68cf0ba01099') # binaries and scripts installed with deps readonly _luatex=/usr/bin/texlua @@ -65,6 +65,7 @@ package() { local execdst="${pkgdir}/usr/bin" local platformdst="${texdst}/texmf-linux/bin" local subdirs=( texmf texmf-fonts texmf-modules ) + cd context install -dm755 "${texdst}" for dir in ${subdirs[@]}; do @@ -83,6 +84,18 @@ package() { install -Dm755 texmf-linux/bin/mktexlsr "${execdst}" install -dm755 "${libdst}" install -Dm644 "${srcdir}/context-setup-env.sh" "${libdst}" + + ln -s /usr/bin/luatex "${platformdst}" + ln -s /usr/bin/luatex "${platformdst}/texlua" + ln -s /usr/bin/luatex "${platformdst}/texluac" + + [ ! -d tmp ] && mkdir tmp + >tmp/context-wrap-context.sh cat <<STOPTHAT +#!/usr/bin/env bash +source "/usr/lib/context-setup-env.sh" +mtxrun --script context "\$@" +STOPTHAT + install -Dm755 tmp/context-wrap-context.sh "${execdst}/context" } # vim:et:ft=sh:sw=2:ts=8 |