[arch-commits] Commit in koffice-l10n-zh_tw/trunk (PKGBUILD)

Ronald van Haren ronald at archlinux.org
Mon Apr 6 06:02:05 EDT 2009


    Date: Monday, April 6, 2009 @ 06:02:05
  Author: ronald
Revision: 33990

upgpkg: koffice-l10n-zh_tw 1.9.99.0-1

Modified:
  koffice-l10n-zh_tw/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-06 10:01:46 UTC (rev 33989)
+++ PKGBUILD	2009-04-06 10:02:05 UTC (rev 33990)
@@ -1,21 +1,25 @@
 # $Id$
-# Maintainer: Alexander Baldeck <alexander at archlinux.org> 
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Maintainer: Alexander Baldeck <alexander at archlinux.org>
+
 pkgname=koffice-l10n-zh_tw
-pkgver=1.6.3
-pkgrel=2
+pkgver=1.9.99.0
+pkgrel=1
 pkgdesc="Chinese Traditional KOffice translation."
 license=('GPL')
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://www.koffice.org"
-depends=('koffice>=1.6.3')
-source=(http://download.kde.org/stable/koffice-$pkgver/src/koffice-l10n/koffice-l10n-zh_TW-$pkgver.tar.bz2)
-replaces=('koffice-i18n-zh_TW')
+depends=("koffice>=${pkgver}")
+source=(http://download.kde.org/unstable/koffice-$pkgver/src/koffice-l10n/koffice-l10n-zh_TW-$pkgver.tar.bz2)
+md5sums=('005e91159c8169c7b47c8e7133ea1467')
 
 build() {
-  cd $startdir/src/${pkgname}-${pkgver}
-  ./configure --prefix=/opt/kde --disable-debug
+  cd ${srcdir}
+  install -d build
+  cd build
+  cmake ../koffice-l10n-zh_TW-${pkgver} \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr
   make || return 1
-  make DESTDIR=$startdir/pkg install || return 1
+  make DESTDIR=${pkgdir} install
 }
-
-md5sums=('7c7c3787a45743ae9d06938829381d2e')



More information about the arch-commits mailing list