summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 96b85b4b824847eccd87e4d5713ef9d2999dfe80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Marek Hilton <imperial.ac.uk: marek.hilton15>
# Contributor: Marek Hilton <imperial.ac.uk: marek.hilton15>

pkgname=pandoc-theoremnos
pkgver=2.0.0a3
pkgrel=1
pkgdesc="Theorem number filter for pandoc"
url="https://github.com/tomduck/pandoc-theoremnos"
depends=('pandoc-xnos>=2.5.0' 'pandoc-xnos<3.0')
license=('GPL')
arch=('any')
source=("https://github.com/tomduck/pandoc-theoremnos/archive/${pkgver}.tar.gz")
md5sums=('72b2d8633e4817ea2cf672da2aa7baa7')

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

package() {
    cd "$srcdir/pandoc-theoremnos-${pkgver}"
    python setup.py install --root="$pkgdir" --optimize=1 
}