[arch-commits] Commit in sile/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Apr 14 22:43:41 UTC 2022
Date: Thursday, April 14, 2022 @ 22:43:41
Author: foutrelis
Revision: 1186366
archrelease: copy trunk to community-staging-x86_64
Added:
sile/repos/community-staging-x86_64/
sile/repos/community-staging-x86_64/PKGBUILD
(from rev 1186365, sile/trunk/PKGBUILD)
----------+
PKGBUILD | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
Copied: sile/repos/community-staging-x86_64/PKGBUILD (from rev 1186365, sile/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-04-14 22:43:41 UTC (rev 1186366)
@@ -0,0 +1,68 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Adrián Pérez de Castro <aperez at igalia.com>
+
+pkgname=sile
+pkgdesc='The SILE Typesetter, a modern typesetting system inspired by LaTeX, customizable in Lua'
+pkgver=0.12.4
+pkgrel=2
+arch=(x86_64)
+url=https://www.sile-typesetter.org
+license=(MIT)
+_luadeps=(bit32
+ cassowary
+ cliargs
+ cosmo
+ expat
+ filesystem
+ linenoise
+ lpeg
+ luaepnf
+ luarepl
+ luautf8
+ penlight
+ sec
+ socket
+ stdlib
+ 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: math package default font')
+checkdepends=(poppler)
+provides=(libtexpdf.so)
+_archive="$pkgname-$pkgver"
+source=("https://github.com/sile-typesetter/sile/releases/download/v$pkgver/$_archive.tar.xz")
+sha256sums=('228faec0592541e373e7a4e4145bdcba60252df08f7c5f6fb4e573c5fbc186d8')
+
+build () {
+ cd "$_archive"
+ ./configure \
+ --prefix /usr \
+ --with-system-luarocks
+ make all
+}
+
+check () {
+ cd "$_archive"
+ make check
+}
+
+package () {
+ cd "$_archive"
+ make install DESTDIR="$pkgdir"
+}
More information about the arch-commits
mailing list