summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2019-05-26 01:56:20 +0200
committerAdrian Perez de Castro2019-05-26 01:56:20 +0200
commitf4d3cec3cbe7577d1d8f9b1e8041d0e0b07f1436 (patch)
tree456b5eb197e637c8a6e2908a924ea438d31164ab
parent5e9f0da2f879fb844cfc80b641de49b0e7193a6d (diff)
downloadaur-f4d3cec3cbe7577d1d8f9b1e8041d0e0b07f1436.tar.gz
Use an actual release tarball
Instead of a GitHub-generated tarball, use an official release tarballs. This makes it unneeded to separately download the libtexpdf soure (the release ones have it bundled already) and avoids issues with GitHub changing the way in which tarballs are created.
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
2 files changed, 6 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a33df8d9c26..5cdde1a0676 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sile
pkgdesc = Modern typesetting system inspired by TeX
pkgver = 0.9.5.1
- pkgrel = 2
+ pkgrel = 3
url = http://www.sile-typesetter.org/
arch = i386
arch = x86_64
@@ -18,10 +18,8 @@ pkgbase = sile
depends = lua-sec
depends = lua-zlib
depends = ttf-gentium-plus
- source = https://github.com/simoncozens/sile/archive/v0.9.5.1.tar.gz
- source = https://github.com/simoncozens/libtexpdf/archive/50f0d788c358eb6e1953185f91817f885dc19649.tar.gz
- sha512sums = b716a880aa610977d54a8086aac8e31e1b17e16a315e460efd0b732c4f4c82bb6cc616c485f0abd18e446317708c3349c69be0f2be19ae8cbe3321630c9c37c4
- sha512sums = 4dd2df1ff4027634f8c5e4ccbfb661229c0f6bf7e4f8e739dcb737f0af0d30570d92321781ab34e61a2f660c225715e569506b825a83744c244dfe9a956c8727
+ source = https://github.com/simoncozens/sile/releases/download/v0.9.5.1/sile-0.9.5.1.tar.bz2
+ sha512sums = 7d83e7737668471f637a59036abe029299148783f87e29e3dd2833d02038bf1aecdf6fc35e36569eaba2cc18f9049d49257a03af4fbab6bceea7898fcb8508d1
pkgname = sile
diff --git a/PKGBUILD b/PKGBUILD
index 1e6a27f160d..f01ccf957bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,11 @@
pkgname='sile'
pkgdesc='Modern typesetting system inspired by TeX'
pkgver='0.9.5.1'
-_libtexpdf_ver='50f0d788c358eb6e1953185f91817f885dc19649'
-pkgrel='2'
+pkgrel='3'
arch=('i386' 'x86_64')
url='http://www.sile-typesetter.org/'
license=('MIT')
-source=("https://github.com/simoncozens/sile/archive/v$pkgver.tar.gz"
- "https://github.com/simoncozens/libtexpdf/archive/$_libtexpdf_ver.tar.gz")
+source=("https://github.com/simoncozens/sile/releases/download/v${pkgver}/sile-${pkgver}.tar.bz2")
depends=('fontconfig'
'harfbuzz>=1.2.6'
'icu'
@@ -23,15 +21,10 @@ depends=('fontconfig'
'lua-sec'
'lua-zlib'
'ttf-gentium-plus')
-sha512sums=('b716a880aa610977d54a8086aac8e31e1b17e16a315e460efd0b732c4f4c82bb6cc616c485f0abd18e446317708c3349c69be0f2be19ae8cbe3321630c9c37c4'
- '4dd2df1ff4027634f8c5e4ccbfb661229c0f6bf7e4f8e739dcb737f0af0d30570d92321781ab34e61a2f660c225715e569506b825a83744c244dfe9a956c8727')
+sha512sums=('7d83e7737668471f637a59036abe029299148783f87e29e3dd2833d02038bf1aecdf6fc35e36569eaba2cc18f9049d49257a03af4fbab6bceea7898fcb8508d1')
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
}