Skip to content

Commit afdda01

Browse files
jtojnaralexander-bauer
authored andcommitted
dist: include PKGBUILD from the AUR
This has been discussed in issue #4. Including the PKGBUILD in this repository has the benefit of versioning it alongside the code, and eventually pushing it to the AUR as part of the continuous integration pipeline. -- Alexander Bauer
1 parent 94237b2 commit afdda01

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

dist/arch/PKGBUILD

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Maintainer: Jan Tojnar <[email protected]>
2+
pkgname=tectonic
3+
pkgver=0.1.5
4+
pkgrel=2
5+
makedepends=('cargo')
6+
arch=('i686' 'x86_64')
7+
pkgdesc='modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive'
8+
url='https://tectonic-typesetting.github.io/en-US/'
9+
license=('MIT')
10+
depends=('fontconfig' 'harfbuzz-icu' 'openssl')
11+
source=("https://github.com/tectonic-typesetting/tectonic/archive/v${pkgver}/${pkgname}.tar.gz")
12+
sha256sums=('a493d6685cf63bea389c290677a641786f0b899e3e77fc7e865c8d1dcabc7aac')
13+
14+
build() {
15+
cd "$srcdir/$pkgname-$pkgver"
16+
cargo build --release
17+
}
18+
19+
package() {
20+
cd "$srcdir/$pkgname-$pkgver"
21+
mkdir -p "$pkgdir/usr/bin"
22+
install "target/release/tectonic" "$pkgdir/usr/bin/tectonic"
23+
}

0 commit comments

Comments
 (0)