mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
parent
f887eebe50
commit
5637f8b373
2 changed files with 35 additions and 0 deletions
8
srcpkgs/sile/patches/lua.patch
Normal file
8
srcpkgs/sile/patches/lua.patch
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- sile.in 2016-06-09 10:57:37.000000000 +0000
|
||||
+++ - 2018-06-21 20:22:13.514804438 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!@LUA@
|
||||
+#!@LUA@@LUA_VERSION@
|
||||
package.path = (os.getenv("SILE_PATH") and
|
||||
os.getenv("SILE_PATH").."/?.lua" or "") .. ';?.lua;@SILE_PATH@/?.lua;@SILE_PATH@/lua-libraries/?.lua;@SILE_PATH@/lua-libraries/?/init.lua;lua-libraries/?.lua;lua-libraries/?/init.lua;' .. package.path
|
||||
package.cpath = package.cpath .. ";core/?.@SHARED_LIB_EXT@;@SILE_LIB_PATH@/?.@SHARED_LIB_EXT@;"
|
27
srcpkgs/sile/template
Normal file
27
srcpkgs/sile/template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'sile'
|
||||
pkgname=sile
|
||||
version=0.9.4
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="harfbuzz-devel lua51-devel lua51-lpeg luaexpat
|
||||
lua51-zlib luafilesystem"
|
||||
depends="lua51-lpeg luaexpat lua51-zlib luafilesystem"
|
||||
short_desc="Modern typesetting system inspired by TeX"
|
||||
maintainer="John <johnz@posteo.net>"
|
||||
license="MIT"
|
||||
homepage="http://www.sile-typesetter.org/"
|
||||
distfiles="https://github.com/simoncozens/sile/releases/download/v${version}/sile-${version}.tar.bz2"
|
||||
checksum=1c696679e5243d0448705db86227eec57a000846f02a964f882b7978c46954d5
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" lua51 lua51-lpeg luaexpat lua51-zlib luafilesystem"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
sed 's/rm -f core/rm -f/' -i configure
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Add table
Reference in a new issue