diff options
Diffstat (limited to '')
-rw-r--r-- | texlive-flashcards/PKGBUILD | 32 | ||||
-rw-r--r-- | texlive-flashcards/texlive-flashcards.install | 14 | ||||
l--------- | texlive-flashcards/upload | 1 | ||||
-rwxr-xr-x | texlive-flashcards/watch | 21 |
4 files changed, 0 insertions, 68 deletions
diff --git a/texlive-flashcards/PKGBUILD b/texlive-flashcards/PKGBUILD deleted file mode 100644 index ef49693..0000000 --- a/texlive-flashcards/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> -# Contributor: tze <tze@datalove.me> - -pkgname=texlive-flashcards -pkgver=1.0.1 -pkgrel=2 -license=('GPL') -depends=('texlive-core') -pkgdesc="A class for typesetting flashcards." -url="https://ctan.org/pkg/flashcards" -arch=('any') -install=texlive-flashcards.install -source=(https://mirror.ctan.org/macros/latex/contrib/flashcards.zip) -sha256sums=('3a344b39e4d3f36152772458c85b32f294e18b13617ac79b18b49406ce73fc52') - -build () -{ - cd "${srcdir}/flashcards" - latex flashcards.ins -} - -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" -} - diff --git a/texlive-flashcards/texlive-flashcards.install b/texlive-flashcards/texlive-flashcards.install deleted file mode 100644 index 996ec23..0000000 --- a/texlive-flashcards/texlive-flashcards.install +++ /dev/null @@ -1,14 +0,0 @@ -post_install() { - post_remove - echo "The file was installed in:" - kpsewhich flashcards.cls -} - -post_upgrade() { - post_install -} - -post_remove() { - echo "Upgrading package database..." - mktexlsr -} diff --git a/texlive-flashcards/upload b/texlive-flashcards/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/texlive-flashcards/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/texlive-flashcards/watch b/texlive-flashcards/watch deleted file mode 100755 index cd655ff..0000000 --- a/texlive-flashcards/watch +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -[ -f flashcards ] && rm flashcards - -wget 'http://ctan.org/pkg/flashcards' -O flashcards >/dev/null 2>/dev/null - -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - grep 'Ver­sion' < flashcards | md5sum > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'texlive-flashcards' - fi -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'texlive-flashcards (unfetchable)' -fi - |