[arch-commits] Commit in kdegraphics/trunk (PKGBUILD)
Thomas Baechler
thomas at archlinux.org
Wed Aug 20 16:03:22 UTC 2008
Date: Wednesday, August 20, 2008 @ 12:03:21
Author: thomas
Revision: 9878
upgpkg: kdegraphics 4.1.0-3
Modified:
kdegraphics/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-08-20 13:08:41 UTC (rev 9877)
+++ PKGBUILD 2008-08-20 16:03:21 UTC (rev 9878)
@@ -1,4 +1,4 @@
-# $ Id: $
+# $Id$
# Maintainer: Pierre Schmitz <pierre at archlinux.de>
pkgname=kdegraphics
@@ -13,16 +13,20 @@
makedepends=('pkgconfig' 'cmake' 'automoc4')
replaces=('gwenview' 'gwenview-i18n')
options=('docs')
-source=("ftp://ftp.archlinux.org/other/kde/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('3793b8b1ca0a326403b8f20ac40ef89d')
+source=("ftp://ftp.archlinux.org/other/kde/${pkgname}-${pkgver}.tar.bz2"
+ fix-printing-in-okular.patch)
+md5sums=('3793b8b1ca0a326403b8f20ac40ef89d'
+ '9fb8e3b89effd33720d161e477bb0f59')
build() {
+ cd $srcdir/${pkgname}-${pkgver}
+ patch -Np4 -i ../fix-printing-in-okular.patch || return 1
cd $srcdir
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
- make
+ make || return 1
make DESTDIR=$pkgdir install
}
More information about the arch-commits
mailing list