diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-06-11 18:42:08 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-06-11 18:42:08 +0200 |
commit | 431a4ca6d3b582ba1e949b667fe278c93217f8cb (patch) | |
tree | fa0489f07c80612965ff5e6cfe6d4790d8f0087e /texlive-flashcards/PKGBUILD | |
parent | update todo (diff) | |
download | aur-packages-431a4ca6d3b582ba1e949b667fe278c93217f8cb.tar.gz aur-packages-431a4ca6d3b582ba1e949b667fe278c93217f8cb.tar.bz2 aur-packages-431a4ca6d3b582ba1e949b667fe278c93217f8cb.tar.xz |
migrating to aur4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'texlive-flashcards/PKGBUILD')
-rw-r--r-- | texlive-flashcards/PKGBUILD | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/texlive-flashcards/PKGBUILD b/texlive-flashcards/PKGBUILD index 5092996..bf610be 100644 --- a/texlive-flashcards/PKGBUILD +++ b/texlive-flashcards/PKGBUILD @@ -3,7 +3,7 @@ pkgname=texlive-flashcards pkgver=1.0.1 -pkgrel=1 +pkgrel=2 license=('GPL') depends=('texlive-core') pkgdesc="A class for typesetting flashcards." @@ -13,14 +13,20 @@ install=texlive-flashcards.install source=(http://mirror.ctan.org/macros/latex/contrib/flashcards.zip) md5sums=('21f85c9b291a0d06e815ce09d89f4463') -build() +build () { - mkdir -p $pkgdir/usr/share/texmf/tex/latex/flashcards - - cd $srcdir/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 +} + +package () +{ + cd "${srcdir}/flashcards" + mkdir -p -- "${pkgdir}/usr/share/texmf/tex/latex/flashcards" + + 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 + install -D -- "${srcdir}/flashcards/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } + |