summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d535cfafeb9cb69c2dd5ab2628ca9c5853e82848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: William Di Luigi <williamdiluigi@gmail.com>

pkgname=latexrun-git
pkgver=r134.38ff6ec
pkgrel=1
pkgdesc="A 21st century LaTeX wrapper"
arch=('any')
url="https://github.com/aclements/latexrun"
license=('MIT')
depends=(
  'python'
)
makedepends=(
  'git'
)

source=(
  'git+https://github.com/aclements/latexrun.git'
)
sha256sums=(
  'SKIP'
)

pkgver() {
  cd latexrun
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd latexrun

  # Copy the main script
  install -D -m755 latexrun $pkgdir/usr/bin/latexrun
}