aboutsummaryrefslogtreecommitdiffstats
path: root/texlive-flashcards
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--texlive-flashcards/PKGBUILD1
-rw-r--r--texlive-flashcards/texlive-flashcards.install14
2 files changed, 15 insertions, 0 deletions
diff --git a/texlive-flashcards/PKGBUILD b/texlive-flashcards/PKGBUILD
index f4482d3..5092996 100644
--- a/texlive-flashcards/PKGBUILD
+++ b/texlive-flashcards/PKGBUILD
@@ -1,5 +1,6 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
# Contributor: tze <tze@datalove.me>
+
pkgname=texlive-flashcards
pkgver=1.0.1
pkgrel=1
diff --git a/texlive-flashcards/texlive-flashcards.install b/texlive-flashcards/texlive-flashcards.install
new file mode 100644
index 0000000..996ec23
--- /dev/null
+++ b/texlive-flashcards/texlive-flashcards.install
@@ -0,0 +1,14 @@
+post_install() {
+ post_remove
+ echo "The file was installed in:"
+ kpsewhich flashcards.cls
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ echo "Upgrading package database..."
+ mktexlsr
+}