upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / minted / trunk / PKGBUILD
blob9f6c0ea7ebfe6a2f3b52d11ff61750258e134d41
1 # Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
2 # Contributor: Markus Härer <markus.haerer@gmx.net>
3 # Contributor: robotanarchy
4 # Contributor: Philipp Trommler <aur@philipp-trommler.me>
6 pkgname=minted
7 pkgver=2.6
8 pkgrel=3
9 pkgdesc='Syntax highlighted source code for LaTeX'
10 url='https://github.com/gpoore/minted'
11 arch=(any)
12 license=(LPPL)
13 depends=(fvextra python-pygments texlive-latexextra which)
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/gpoore/minted/archive/v$pkgver.tar.gz"
15         minted.install)
16 install=minted.install
17 b2sums=('b8f1686adeb138c61c232502b10aa420f1054180c5a460e9e5058d40435e13d336c15a044202923bd1acd7b62a7b780d95c62cf1a589181c90b9058712479c43'
18         'd0a872e3c36c8364a4819ac597ddaf0be97e0712c9a1871a1e51d1b48ec5928435b7d8eebfc58e0762ee84f150c523b43622654117b2ecd19d13aba7c687e59a')
20 build() {
21   cd $pkgname-$pkgver/source
22   yes | tex $pkgname.ins
25 package() {
26   cd $pkgname-$pkgver/source
27   install -Dm644 $pkgname.sty \
28     "$pkgdir/usr/share/texmf/tex/latex/$pkgname/$pkgname.sty"
29   install -Dm644 $pkgname.pdf "$pkgdir/usr/share/doc/$pkgname/$pkgname.pdf"