[arch-commits] Commit in koffice/trunk (PKGBUILD filters.install)

Ronald van Haren ronald at archlinux.org
Thu Jul 8 16:32:08 EDT 2010


    Date: Thursday, July 8, 2010 @ 16:32:07
  Author: ronald
Revision: 85123

upgpkg: koffice 2.2.1-1
update to 2.2.1; add install file for filters package

Added:
  koffice/trunk/filters.install
Modified:
  koffice/trunk/PKGBUILD

-----------------+
 PKGBUILD        |   11 ++++-------
 filters.install |   11 +++++++++++
 2 files changed, 15 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-08 17:07:05 UTC (rev 85122)
+++ PKGBUILD	2010-07-08 20:32:07 UTC (rev 85123)
@@ -29,8 +29,8 @@
 	'koffice-pics'
 	'koffice-tools'
 	'koffice-thesaurus-doc')
-pkgver=2.2.0
-pkgrel=2
+pkgver=2.2.1
+pkgrel=1
 arch=('i686' 'x86_64')
 url='http://koffice.kde.org'
 license=('GPL' 'LGPL' 'FDL')
@@ -39,15 +39,11 @@
   'kdepimlibs' 'pstoedit' 'poppler-qt' 'libwpd' 'openexr' 'opengtl' 'kdegraphics-libs' 'sqlite3')
 groups=('koffice')
 source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
-sha1sums=('274623699eb666730a0c8d92f81fb99680217345')
+sha1sums=('294c9828cb5eb87392aa87e56e2b0f2700b8b66d')
 	
 build() {
 	cd ${srcdir}/${pkgbase}-${pkgver}
 
-	# buildtime patch
-#  	patch -Np0 -i ${srcdir}/libpng14.patch || return 1
-#        patch -Np0 -i ${srcdir}/koffice-gcc45.patch || return 1	
-
 	cd ${srcdir}
 	mkdir build
 	cd build
@@ -206,6 +202,7 @@
 	pkgdesc="Filters for de KDE office suite"
         optdepends=('libwpd: wordperfect document importer' 
 	'pstoedit: Karbon EPS import filter' 'kdegraphics-libs: support for raw images')
+	install=filters.install
         cd ${srcdir}/build/filters
         make DESTDIR=${pkgdir} install
 }

Added: filters.install
===================================================================
--- filters.install	                        (rev 0)
+++ filters.install	2010-07-08 20:32:07 UTC (rev 85123)
@@ -0,0 +1,11 @@
+post_install() {
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list