[arch-commits] Commit in sile/repos (2 files)

Caleb Maclennan alerque at gemini.archlinux.org
Mon Sep 20 10:03:38 UTC 2021


    Date: Monday, September 20, 2021 @ 10:03:38
  Author: alerque
Revision: 1018663

archrelease: copy trunk to community-testing-x86_64

Added:
  sile/repos/community-testing-x86_64/
  sile/repos/community-testing-x86_64/PKGBUILD
    (from rev 1018662, sile/trunk/PKGBUILD)

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

Copied: sile/repos/community-testing-x86_64/PKGBUILD (from rev 1018662, sile/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-09-20 10:03:38 UTC (rev 1018663)
@@ -0,0 +1,67 @@
+# 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=4
+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)
+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