[arch-commits] Commit in (sile sile/repos sile/trunk sile/trunk/PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Sat Sep 4 17:37:39 UTC 2021


    Date: Saturday, September 4, 2021 @ 17:37:39
  Author: alerque
Revision: 1011392

Migrate sile from AUR

Added:
  sile/
  sile/repos/
  sile/trunk/
  sile/trunk/PKGBUILD

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

Added: sile/trunk/PKGBUILD
===================================================================
--- sile/trunk/PKGBUILD	                        (rev 0)
+++ sile/trunk/PKGBUILD	2021-09-04 17:37:39 UTC (rev 1011392)
@@ -0,0 +1,66 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Adrián Pérez de Castro <aperez at igalia.com>
+
+pkgname=sile
+pkgdesc='Modern typesetting system inspired by TeX'
+pkgver=0.11.1
+pkgrel=2
+arch=(x86_64)
+url=https://www.sile-typesetter.org
+license=(MIT)
+_luadeps=(bit32
+           cassowary
+           cosmo
+           cliargs
+           expat
+           filesystem
+           linenoise
+           lpeg
+           luaepnf
+           penlight
+           repl
+           sec
+           socket
+           stdlib
+           utf8
+           vstruct
+           zlib)
+depends=(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)
+checkdepends=(poppler)
+provides=(libtexpdf.so)
+_archive="$pkgname-$pkgver"
+source=("https://github.com/sile-typesetter/sile/releases/download/v$pkgver/$_archive.tar.xz")
+sha256sums=('a3e627d543bf07ff43ff06cacdbceb8f37aa056a31af25e68f706ad33f497d19')
+
+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