Date: Friday, October 21, 2022 @ 18:42:45
Author: felixonmars
Revision: 1333213
archrelease: copy trunk to community-staging-x86_64
Added:
sile/repos/community-staging-x86_64/
sile/repos/community-staging-x86_64/PKGBUILD
(from rev 1333212, sile/trunk/PKGBUILD)
----------+
PKGBUILD | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 75 insertions(+)
Copied: sile/repos/community-staging-x86_64/PKGBUILD (from rev 1333212,
sile/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-10-21 18:42:45 UTC (rev 1333213)
@@ -0,0 +1,75 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Adrián Pérez de Castro <[email protected]>
+
+pkgname=sile
+pkgdesc='The SILE Typesetter, a modern typesetting system inspired by LaTeX,
customizable in Lua'
+pkgver=0.14.3
+pkgrel=3
+arch=(x86_64)
+url=https://www.sile-typesetter.org
+_url="https://github.com/sile-typesetter/$pkgname"
+license=(MIT)
+_luadeps=(bit32
+ cassowary
+ cldr
+ cliargs
+ cosmo
+ expat
+ filesystem
+ fluent
+ linenoise
+ loadkit
+ lpeg
+ luaepnf
+ luarepl
+ luautf8
+ penlight
+ sec
+ socket
+ vstruct
+ zlib)
+depends=(glibc
+ fontconfig
+ freetype2
+ harfbuzz
+ gentium-plus-font
+ git
+ icu
+ libpng # this goes with libtexpdf if ever split out to a library
package
+ lua
+ "${_luadeps[@]/#/lua-}"
+ zlib)
+depends+=(libfreetype.so
+ libharfbuzz.so
+ libicudata.so
+ libicui18n.so
+ libicuio.so
+ libicuuc.so)
+optdepends=('libertinus-font: default math font'
+ 'luarocks: manage addon packages'
+ 'noto-fonts-cjk: default font for tate enabled classes'
+ 'ttf-hack: defaualt mono font')
+checkdepends=(poppler)
+provides=(libtexpdf.so)
+options=(debug)
+_archive="$pkgname-$pkgver"
+source=("$_url/releases/download/v$pkgver/$_archive.tar.xz")
+sha256sums=('7f9735bb2bdea5004b226037baa85bbb684d9de1653d65faa5d1dc0677a6f6d8')
+
+build () {
+ cd "$_archive"
+ ./configure \
+ --prefix /usr \
+ --with-system-luarocks
+ make all
+}
+
+check () {
+ cd "$_archive"
+ make check
+}
+
+package () {
+ cd "$_archive"
+ make install DESTDIR="$pkgdir"
+}