summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b9ef1278b0a4ecec95adc51cae71c0128abab53 (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
# Maintainer: Volker Schatz <arch@my-name-without-hyphen.com>
pkgname=gladtex2
pkgver=3.0.0
pkgrel=1
pkgdesc="A utility for writing LaTeX equations within HTML - Python rewrite"
depends=('python>=3.4' 'texlive-bin' 'texlive-latexextra')
makedepends=('pandoc')
conflicts=('gladtex')
arch=('i686' 'x86_64')
license=('LGPL')
url="https://humenda.github.io/GladTeX/"
source=( "https://github.com/humenda/GladTeX/archive/v3.0.0.tar.gz" )
sha256sums=('319b5f1741f6635f0cc542527626def47578989af84d3fbce1413d24cefc89ce')

build() {
  cd "$srcdir/GladTeX-$pkgver"
  python ./setup.py build
}

package() {
  cd "$srcdir/GladTeX-$pkgver"
  python ./setup.py install --prefix=/usr --root="$pkgdir"
  install -m 644 -D build/gladtex.1 "$pkgdir"/usr/man/man1/gladtex.1
}

# vim: set ts=2 sw=2 et: