summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Hoeg2015-09-08 16:52:25 +0800
committerPeter Hoeg2015-09-08 16:52:25 +0800
commita01797c6c244f51413e72cf531665bd2b203774e (patch)
tree50d8877b59b04019c20bfe9c17f5b9594920b3b0
parent8a26e69aeaec001274a33071d2c8f83f92183488 (diff)
downloadaur-a01797c6c244f51413e72cf531665bd2b203774e.tar.gz
upgpkg: koma-script 3.18.2150-1
upstream release upgpkg: texlive-cleanthesis 0.3.1-1 upstream release upgpkg: texlive-moderncv 2.0.0-3 align all texlive packages
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD22
-rw-r--r--koma-script.install13
-rw-r--r--texlive.install14
4 files changed, 23 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5db11bdf3817..2b7000d68446 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,13 @@
pkgbase = koma-script
pkgdesc = A versatile bundle of LaTeX2e document classes and packages
pkgver = 3.18.2150
- pkgrel = 0
+ pkgrel = 1
url = http://www.komascript.de/
- install = koma-script.install
+ install = texlive.install
arch = any
license = LPPL
- makedepends = unzip
+ depends = texlive-core
depends = texlive-latexextra
- noextract = koma-script-2150.zip
source = http://sourceforge.net/projects/koma-script/files/KOMA-Script/koma-script-2150.zip
sha1sums = acc976e8d2a073b4fe1ab772466e0f35337fe2ee
diff --git a/PKGBUILD b/PKGBUILD
index f864e07d4a5a..3bd8117e2428 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,23 @@
-# Maintainer: Thomas Glamsch <thomas.glamsch@gmail.com>
+# Maintainer: Peter Hoeg <first name at last name dot com>
+# Contributor: Thomas Glamsch <thomas.glamsch@gmail.com>
# Contributor: Alexander Kratzsch <alexander-kratzsch at web dot de>
-# Contributor: Peter Hoeg <first name at last name dot com>
_revision=2150
pkgname=koma-script
pkgver=3.18.${_revision}
-pkgrel=0
+pkgrel=1
pkgdesc="A versatile bundle of LaTeX2e document classes and packages"
arch=("any")
url="http://www.komascript.de/"
license=('LPPL')
-depends=('texlive-latexextra')
-install=koma-script.install
-makedepends=('unzip')
+depends=('texlive-core' 'texlive-latexextra')
source=("http://sourceforge.net/projects/koma-script/files/KOMA-Script/koma-script-${_revision}.zip")
sha1sums=('acc976e8d2a073b4fe1ab772466e0f35337fe2ee')
-noextract=("koma-script-${_revision}.zip")
-
-build() {
- cd "$srcdir/"
-
- unzip -q "koma-script-${_revision}.zip"
-}
+install=texlive.install
package() {
cd "$srcdir/"
install -m775 -d "$pkgdir/usr/share/texmf"
-
- cp -R doc/ tex/ source/ "$pkgdir/usr/share/texmf"
- chmod -R 755 "$pkgdir/usr"
+ cp -R doc/ tex/ "$pkgdir/usr/share/texmf"
}
diff --git a/koma-script.install b/koma-script.install
deleted file mode 100644
index dd79589ce484..000000000000
--- a/koma-script.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- texhash
-}
-
-post_upgrade() {
- texhash
-}
-
-post_remove() {
- texhash
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/texlive.install b/texlive.install
new file mode 100644
index 000000000000..63edfd75bdc5
--- /dev/null
+++ b/texlive.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo ">>> texlive: updating the filename database..."
+ /usr/bin/mktexlsr
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et: