summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d49552f1711203f3aba0cdfc00a9b1b2ccb1683 (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
# Maintainer: ber532k <ber532k@gmx.de>
pkgname=mkpdf
pkgver=0.3.1
pkgrel=1
pkgdesc="A simple wrapper around pandoc and latexmk"
arch=('any')
url="https://github.com/seifferth/mkpdf"
license=('GPL3')
depends=('texlive-core' 'biber' 'pandoc')
optdepends=('python-langdetect: autodetect language of input document')
source=("https://github.com/seifferth/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('dcca43e29774cae3e2e0d4605d532661')

build() {
    cd "$srcdir/$pkgname-$pkgver"
    make man
}

package() {
    install -Dm 755 "$srcdir/$pkgname-$pkgver/mkpdf" "$pkgdir/usr/bin/mkpdf"
    install -Dm 755 "$srcdir/$pkgname-$pkgver/furbishtex/furbishtex" "$pkgdir/usr/bin/furbishtex"
    install -Dm 644 "$srcdir/$pkgname-$pkgver/furbishtex/default.sed" "$pkgdir/usr/lib/furbishtex/default.sed"
    install -Dm 644 "$srcdir/$pkgname-$pkgver/mkpdf.1.gz" "$pkgdir/usr/share/man/man1/mkpdf.1.gz"
}