diff options
author | Caleb Maclennan | 2021-08-12 13:23:20 +0300 |
---|---|---|
committer | Caleb Maclennan | 2021-08-12 13:23:20 +0300 |
commit | 2f67cd73d5a2b1db84f96774cd9f7f4f26ebc5c8 (patch) | |
tree | 16f5bf96e1a6ef65dd915299936c2815705a2a94 | |
parent | 015fa540b7b2a58149b9179b04f9983847a08dc4 (diff) | |
download | aur-2f67cd73d5a2b1db84f96774cd9f7f4f26ebc5c8.tar.gz |
upgpkg: sile-git 0.10.15.r65.g7e77f89-1
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 128 |
2 files changed, 67 insertions, 66 deletions
@@ -1,6 +1,6 @@ pkgbase = sile-git pkgdesc = Modern typesetting system inspired by TeX - pkgver = 0.10.13.r16.g0982f48 + pkgver = 0.10.15.r65.g7e77f89 pkgrel = 1 url = https://www.sile-typesetter.org arch = x86_64 @@ -39,7 +39,7 @@ pkgbase = sile-git depends = libicuio.so depends = libicuuc.so provides = libtexpdf.so - provides = sile=0.10.13.r16.g0982f48 + provides = sile=0.10.15.r65.g7e77f89 conflicts = sile source = git://github.com/sile-typesetter/sile.git source = git://github.com/sile-typesetter/libtexpdf.git @@ -47,4 +47,3 @@ pkgbase = sile-git sha256sums = SKIP pkgname = sile-git - @@ -1,86 +1,88 @@ # Maintainer: Caleb Maclennan <caleb@alerque.com> # Maintainer: Adrián Pérez de Castro <aperez@igalia.com> -pkgname=sile-git +_pkgname=sile +pkgname=$_pkgname-git pkgdesc='Modern typesetting system inspired by TeX' -pkgver=0.10.13.r16.g0982f48 +pkgver=0.10.15.r65.g7e77f89 pkgrel=1 -arch=('x86_64') -url='https://www.sile-typesetter.org' -license=('MIT') -_lua_deps=('bit32' - 'cassowary' - 'cosmo' - 'cliargs' - 'expat' - 'filesystem' - 'linenoise' - 'lpeg' - 'luaepnf' - 'penlight' - 'repl' - 'sec' - 'socket' - 'stdlib' - 'utf8' - 'vstruct' - 'zlib') -depends=('fontconfig' - 'freetype2' - 'harfbuzz' - 'gentium-plus-font' - 'icu' - 'libpng' # this goes with libtexpdf if ever split out to a library package - 'lua' +arch=(x86_64) +url=https://www.sile-typesetter.org +license=(MIT) +_lua_deps=(bit32 + cassowary + cosmo + cliargs + expat + filesystem + linenoise + lpeg + luaepnf + penlight + repl + sec + socket + stdlib + utf8 + vstruct + zlib) +depends=(fontconfig + freetype2 + harfbuzz + gentium-plus-font + icu + libpng # this goes with libtexpdf if ever split out to a library package + lua "${_lua_deps[@]/#/lua-}" - 'zlib') -# Note find via find-deps; needs rebuilding any time versions of these change; + zlib) +# Note: find via find-deps; needs rebuilding any time versions of these change; # currently missing several because parent packages are missing the provides=() -depends+=('libfreetype.so' - 'libharfbuzz.so' - 'libicudata.so' - 'libicui18n.so' - 'libicuio.so' - 'libicuuc.so') -makedepends=('git') -checkdepends=('poppler') -provides=('libtexpdf.so' - "${pkgname%-git}=$pkgver") -conflicts=("${pkgname%-git}") -source=("git://github.com/sile-typesetter/${pkgname%-git}.git" +depends+=(libfreetype.so + libharfbuzz.so + libicudata.so + libicui18n.so + libicuio.so + libicuuc.so) +makedepends=(git) +checkdepends=(poppler) +provides=(libtexpdf.so + "$_pkgname=$pkgver") +conflicts=("$_pkgname") +source=("git://github.com/sile-typesetter/$_pkgname.git" "git://github.com/sile-typesetter/libtexpdf.git") -sha256sums=('SKIP' 'SKIP') +sha256sums=('SKIP' + 'SKIP') pkgver() { - cd "${pkgname%-git}" - git describe --long --tags --abbrev=7 --match="v*" HEAD | - sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + cd "$_pkgname" + git describe --long --tags --abbrev=7 --match="v*" HEAD | + sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare () { - cd "${pkgname%-git}" - git submodule init - git config submodule.libtexpdf.url "$srcdir/libtexpdf" - git submodule update - ./bootstrap.sh + cd "$_pkgname" + git submodule init + git config submodule.libtexpdf.url "$srcdir/libtexpdf" + git submodule update + ./bootstrap.sh } build () { - cd "${pkgname%-git}" - ./configure \ - --prefix /usr \ - --docdir /usr/share/doc/$pkgname \ - --with-system-luarocks - make all + cd "$_pkgname" + ./configure \ + --prefix /usr \ + --docdir /usr/share/doc/$pkgname \ + --with-system-luarocks + make all } check () { - cd "${pkgname%-git}" - make check + cd "$_pkgname" + make check } package () { - cd "${pkgname%-git}" - make install DESTDIR="$pkgdir" - mv "$pkgdir/usr/share/licenses/"{sile,$pkgname} + cd "$_pkgname" + make install DESTDIR="$pkgdir" + mv "$pkgdir/usr/share/licenses/"{$_pkgname,$pkgname} } |