aboutsummaryrefslogtreecommitdiffstats
path: root/texlive-flashcards/PKGBUILD
blob: 5092996ef01816ee01f92d94c466b1f4fce91b43 (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
24
25
26
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
# Contributor: tze <tze@datalove.me>

pkgname=texlive-flashcards
pkgver=1.0.1
pkgrel=1
license=('GPL')
depends=('texlive-core')
pkgdesc="A class for typesetting flashcards."
url="http://ctan.org/pkg/flashcards"
arch=('any')
install=texlive-flashcards.install
source=(http://mirror.ctan.org/macros/latex/contrib/flashcards.zip)
md5sums=('21f85c9b291a0d06e815ce09d89f4463')

build()
{
  mkdir -p $pkgdir/usr/share/texmf/tex/latex/flashcards

  cd $srcdir/flashcards
  latex flashcards.ins
  cp flashcards.cls $pkgdir/usr/share/texmf/tex/latex/flashcards
  cp *.cfg $pkgdir/usr/share/texmf/tex/latex/flashcards

  install -D $srcdir/flashcards/COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
}