summaryrefslogtreecommitdiffstats
path: root/site-gen/PKGBUILD
blob: 2a5c22becd1734f99067a6d6da1eee4fe6547d91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Justin Gassner <justin.gassner@mailbox.org>

_pkgname=site-gen
pkgname=$_pkgname-jxir
pkgver=1
pkgrel=1
pkgdesc='Site generator'
arch=('any')
url="https://jxir.de/"
license=('GPL')
depends=('katex' 'pandoc' 'pdf2svg' 'svgcleaner' 'texlive-pictures')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://git.jxir.de/$_pkgname")
sha256sums=('SKIP')

package() {
  cd "$_pkgname"
  install -D * -t "$pkgdir/usr/lib/$pkgname"
  mkdir -p "$pkgdir/usr/bin"
  ln -s "/usr/lib/$pkgname/gen" "$pkgdir/usr/bin/gen"
}