aboutsummaryrefslogtreecommitdiffstats
path: root/texlive-flashcards
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--texlive-flashcards/PKGBUILD22
l---------texlive-flashcards/upload1
2 files changed, 15 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"
}
+
diff --git a/texlive-flashcards/upload b/texlive-flashcards/upload
new file mode 120000
index 0000000..1e7a8be
--- /dev/null
+++ b/texlive-flashcards/upload
@@ -0,0 +1 @@
+../upload \ No newline at end of file