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

Ronald van Haren ronald at archlinux.org
Sun Jul 12 10:11:52 EDT 2009


    Date: Sunday, July 12, 2009 @ 10:11:52
  Author: ronald
Revision: 45522

upgpkg: koffice-l10n-es 2.0.1-1
    bump to latest version

Modified:
  koffice-l10n-es/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-07-12 14:09:26 UTC (rev 45521)
+++ PKGBUILD	2009-07-12 14:11:52 UTC (rev 45522)
@@ -1,21 +1,24 @@
 # $Id$
-# Maintainer: Alexander Baldeck <alexander at archlinux.org> 
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+
 pkgname=koffice-l10n-es
-pkgver=1.6.3
-pkgrel=2
+pkgver=2.0.1
+pkgrel=1
 pkgdesc="Spanish KOffice translation."
 license=('GPL')
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://www.koffice.org"
-depends=('koffice>=1.6.3')
+depends=("koffice>=${pkgver}")
 source=(http://download.kde.org/stable/koffice-$pkgver/src/koffice-l10n/$pkgname-$pkgver.tar.bz2)
-replaces=koffice-i18n-es
+md5sums=('3d372d4c9fdaf3c98867eabc95ae2b8b')
 
 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=('23f246f5bc86f8831e595f98c24c154e')



More information about the arch-commits mailing list