diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -4,7 +4,7 @@ _pkgname=sile pkgname=$_pkgname-luajit pkgdesc='Modern typesetting system inspired by TeX' pkgver=0.10.15 -pkgrel=3 +pkgrel=4 arch=(x86_64) url=https://www.sile-typesetter.org license=(MIT) @@ -35,7 +35,7 @@ depends=(fontconfig luajit "${_lua_deps[@]/#/lua51-}" zlib) -# Note find via find-deps; needs rebuilding any time versions of these change; +# Note: find via find-deps; needs rebuilding any time versions of these change; # currently missing several because parent packages are missing the provides=() depends+=(libfreetype.so libharfbuzz.so @@ -43,28 +43,29 @@ depends+=(libfreetype.so libicui18n.so libicuio.so libicuuc.so) -checkdepends=('poppler') +checkdepends=(poppler) provides=(libtexpdf.so "$_pkgname=$pkgver") conflicts=("$_pkgname") -source=("https://github.com/sile-typesetter/sile/releases/download/v$pkgver/$_pkgname-$pkgver.tar.xz") +_archive="$_pkgname-$pkgver" +source=("https://github.com/sile-typesetter/sile/releases/download/v$pkgver/$_archive.tar.xz") sha256sums=('49b55730effd473c64a8955a903e48f61c51dd7bb862e6d5481193218d1e3c5c') build () { - cd "$_pkgname-$pkgver" - ./configure \ - --prefix /usr \ - --with-luajit \ - --with-system-luarocks - make all + cd "$_archive" + ./configure \ + --prefix /usr \ + --with-luajit \ + --with-system-luarocks + make all } check () { - cd "$_pkgname-$pkgver" - make check + cd "$_archive" + make check } package () { - cd "$_pkgname-$pkgver" - make install DESTDIR="$pkgdir" + cd "$_archive" + make install DESTDIR="$pkgdir" } |