summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 372bff3b6372af2e29e3981f1da66dda7ca538d3 (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
27
28
# Maintainer bonanza <illogical@protonmail.com>

pkgname=latex-includetikz-git
pkgname_=latex-includetikz
pkgver=0.2.1
pkgrel=1
pkgdesc='Latex package to include external tikz figures and similarly to \includegraphics command.'
arch=(any)
url=https://github.com/gdolle/latex-includetikz
license=(GPL)
install=includetikz.install
depends=(tetex)
conflicts=()
source=('latex-includetikz::git+https://github.com/gdolle/latex-includetikz.git')
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname_"
  git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
    cd "$pkgname_"
    dest=${pkgdir}/usr/share/texmf-dist/tex/$pkgname_
	install -d $dest

	cp -r *.sty $dest
}