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

Ronald van Haren ronald at archlinux.org
Mon Apr 6 05:53:04 EDT 2009


    Date: Monday, April 6, 2009 @ 05:53:04
  Author: ronald
Revision: 33975

upgpkg: koffice-l10n-pl 1.9.99.0-1

Modified:
  koffice-l10n-pl/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-06 09:52:11 UTC (rev 33974)
+++ PKGBUILD	2009-04-06 09:53:04 UTC (rev 33975)
@@ -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-pl
-pkgver=1.6.3
-pkgrel=2
+pkgver=1.9.99.0
+pkgrel=1
 pkgdesc="Polish 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-pl
+depends=("koffice>=${pkgver}")
+source=(http://download.kde.org/unstable/koffice-$pkgver/src/koffice-l10n/$pkgname-$pkgver.tar.bz2)
+md5sums=('449954514f9a3d0f1acd5396b14669ca')
 
 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=('a174b73f3e2c0e579bf3775e481958dd')



More information about the arch-commits mailing list