summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2015-07-06 12:07:06 +0200
committerAdrian Perez de Castro2015-07-06 12:15:27 +0200
commita2adbb8b1f688bb06e6eca6f2420416f2af44cc5 (patch)
tree66c693c1b29a8d38e78e1006e24567ade099d728
parent76c5eb683b00c763323598fc005fa51abd1b3df8 (diff)
downloadaur-a2adbb8b1f688bb06e6eca6f2420416f2af44cc5.tar.gz
Update to version 0.9.2
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD31
2 files changed, 24 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8d6df68277f..8fc1ad8e877 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,19 @@
pkgbase = sile
pkgdesc = Modern typesetting system inspired by TeX
- pkgver = 0.9.1
+ pkgver = 0.9.2
pkgrel = 1
url = http://www.sile-typesetter.org/
arch = i386
arch = x86_64
license = custom
- depends = lua
depends = lua-lpeg
depends = lua-expat
- depends = libpng
- depends = libpaper
depends = fontconfig
- depends = freetype2
- depends = pango
depends = harfbuzz
- source = https://github.com/simoncozens/sile/releases/download/v0.9.1/sile-0.9.1.tar.gz
- sha512sums = c03ddcd80383e1b44a8aa35dff52950cb492adf8f78ec39ce00acf3f33ad3c56ffcfe82a8af5e6074d1d4a8a1d4b227c7de61843ecf83ca8e709558ff9935094
+ source = https://github.com/simoncozens/sile/archive/v0.9.2.tar.gz
+ source = https://github.com/simoncozens/libtexpdf/archive/04ad589e2aaaa6db1147de1f43cf5bc7e7ed327a.tar.gz
+ sha512sums = 20483d10004b874ada9e21ba2abada439e9f7af470252e28ea61b0863282643902b388ae4fb6b1cdfd2277606f6988a11b8a3018782279e770746a5d6a56a5c2
+ sha512sums = 9cc2ade221251964fe600deadcaf28ab7488018fbb09f6a0fe0bd5d0d8950f3d232c8782369e8c88e75c776a577ca8451866ee86af8f0ab70dd7ca47ecb26715
pkgname = sile
diff --git a/PKGBUILD b/PKGBUILD
index 7e3d9e70d0d..58cf939a58d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,31 @@
# Maintainer: Adrián Pérez de Castro <aperez@igalia.com>
pkgname='sile'
pkgdesc='Modern typesetting system inspired by TeX'
-pkgver='0.9.1'
+pkgver='0.9.2'
+_libtexpdf_ver='04ad589e2aaaa6db1147de1f43cf5bc7e7ed327a'
pkgrel='1'
arch=('i386' 'x86_64')
url='http://www.sile-typesetter.org/'
license='custom'
-source=("https://github.com/simoncozens/sile/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('c03ddcd80383e1b44a8aa35dff52950cb492adf8f78ec39ce00acf3f33ad3c56ffcfe82a8af5e6074d1d4a8a1d4b227c7de61843ecf83ca8e709558ff9935094')
-depends=('lua'
- 'lua-lpeg'
+source=("https://github.com/simoncozens/sile/archive/v${pkgver}.tar.gz"
+ "https://github.com/simoncozens/libtexpdf/archive/${_libtexpdf_ver}.tar.gz")
+sha512sums=('20483d10004b874ada9e21ba2abada439e9f7af470252e28ea61b0863282643902b388ae4fb6b1cdfd2277606f6988a11b8a3018782279e770746a5d6a56a5c2'
+ '9cc2ade221251964fe600deadcaf28ab7488018fbb09f6a0fe0bd5d0d8950f3d232c8782369e8c88e75c776a577ca8451866ee86af8f0ab70dd7ca47ecb26715')
+
+depends=('lua-lpeg'
'lua-expat'
- 'libpng'
- 'libpaper'
'fontconfig'
- 'freetype2'
- 'pango'
'harfbuzz')
+prepare () {
+ cd "${pkgname}-${pkgver}"
+ rm -rf libtexpdf
+ cp -a ../libtexpdf-${_libtexpdf_ver} libtexpdf
+ autoreconf --install
+ (cd libtexpdf && autoreconf -I m4)
+ sed 's/rm -f core/rm -f/' -i configure
+}
+
build () {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
@@ -26,15 +34,14 @@ build () {
package () {
cd "${pkgname}-${pkgver}"
-
- make install DESTDIR="${pkgdir}"
+ make install DESTDIR="${pkgdir}/"
# Documentation and examples
for file in README.md ROADMAP documentation/sile.pdf ; do
install -Dm644 "${file}" \
"${pkgdir}/usr/share/doc/${pkgname}/${file}"
done
- cp -ar examples "${pkgdir}/usr/share/doc/${pkgname}/"
+ cp -ar examples "${pkgdir}/usr/share/doc/${pkgname}"
# License
install -Dm644 LICENSE \