[arch-commits] Commit in asymptote/trunk (PKGBUILD texlive.install)
Rémy Oudompheng
remy at archlinux.org
Sat Feb 19 22:20:32 UTC 2011
Date: Saturday, February 19, 2011 @ 17:20:32
Author: remy
Revision: 110553
Upstream update (2.08), register info file (FS #22969)
Modified:
asymptote/trunk/PKGBUILD
asymptote/trunk/texlive.install
-----------------+
PKGBUILD | 7 ++++---
texlive.install | 13 ++++++++++---
2 files changed, 14 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-19 22:07:22 UTC (rev 110552)
+++ PKGBUILD 2011-02-19 22:20:32 UTC (rev 110553)
@@ -1,9 +1,10 @@
# $Id$
-# Maintainer: Firmicus <francois.archlinux.org>
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
# Contributor: bender02 at gmx dot com
pkgname=asymptote
-pkgver=2.06
+pkgver=2.08
pkgrel=1
pkgdesc="A vector graphics language (like metapost)"
arch=('i686' 'x86_64')
@@ -16,7 +17,7 @@
'tix: for the xasy GUI')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz)
install=texlive.install
-md5sums=('eefad683237f1bb7ec21570f84d9bf14')
+sha1sums=(6b81336727458f7fdcc3db972f1e63b3bfc1a93b)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
Modified: texlive.install
===================================================================
--- texlive.install 2011-02-19 22:07:22 UTC (rev 110552)
+++ texlive.install 2011-02-19 22:20:32 UTC (rev 110553)
@@ -1,13 +1,20 @@
+info_dir=usr/share/info
+
post_install() {
- echo ">>> updating the filename database for texlive..."
- mktexlsr --quiet /usr/share/texmf
+ install-info ${info_dir}/asy-faq.info.gz ${info_dir}/dir
+ echo ">>> updating the filename database for texlive..."
+ mktexlsr --quiet usr/share/texmf
}
post_upgrade() {
post_install
}
+pre_remove() {
+ install-info --delete ${info_dir}/asy-faq.info.gz ${info_dir}/dir
+}
post_remove() {
- post_install
+ echo ">>> updating the filename database for texlive..."
+ mktexlsr --quiet usr/share/texmf
}
More information about the arch-commits
mailing list