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

Ronald van Haren ronald at archlinux.org
Mon Apr 6 09:44:57 UTC 2009


    Date: Monday, April 6, 2009 @ 05:44:57
  Author: ronald
Revision: 33960

upgpkg: koffice-l10n-gl 1.9.99.0-1

Modified:
  koffice-l10n-gl/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-06 09:40:02 UTC (rev 33959)
+++ PKGBUILD	2009-04-06 09:44:57 UTC (rev 33960)
@@ -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-gl
-pkgver=1.6.3
-pkgrel=2
+pkgver=1.9.99.0
+pkgrel=1
 pkgdesc="Galician 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/$pkgname-$pkgver.tar.bz2)
-replaces=koffice-i18n-gl
+depends=("koffice>=${pkgver}")
+source=(http://download.kde.org/unstable/koffice-$pkgver/src/koffice-l10n/$pkgname-$pkgver.tar.bz2)
+md5sums=('af2de88d4007aebaebe592828968791b')
 
 build() {
-  cd $startdir/src/${pkgname}-${pkgver}
-  ./configure --prefix=/opt/kde --disable-debug
+  cd ${srcdir}
+  install -d build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr
   make || return 1
-  make DESTDIR=$startdir/pkg install || return 1
+  make DESTDIR=${pkgdir} install
 }
-
-md5sums=('84b9c65886a99599d99c7ea077875a88')




More information about the arch-commits mailing list