summaryrefslogtreecommitdiff
path: root/extra/cmake/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cmake/PKGBUILD')
-rw-r--r--extra/cmake/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/extra/cmake/PKGBUILD b/extra/cmake/PKGBUILD
index 6088c88ad..5600a7a8b 100644
--- a/extra/cmake/PKGBUILD
+++ b/extra/cmake/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 156521 2012-04-20 06:48:44Z andrea $
+# $Id: PKGBUILD 157165 2012-04-25 06:58:42Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=cmake
pkgver=2.8.8
-pkgrel=1
+pkgrel=2
pkgdesc="A cross-platform open-source make system"
arch=('i686' 'x86_64')
url="http://www.cmake.org/"
@@ -13,12 +13,17 @@ depends=('curl' 'libarchive' 'shared-mime-info')
makedepends=('qt')
optdepends=('qt: cmake-gui')
install="${pkgname}.install"
-source=("http://www.cmake.org/files/v2.8/${pkgname}-${pkgver}.tar.gz")
-md5sums=('ba74b22c788a0c8547976b880cd02b17')
+source=("http://www.cmake.org/files/v2.8/${pkgname}-${pkgver}.tar.gz"
+ 'fix-pkg-config.patch')
+md5sums=('ba74b22c788a0c8547976b880cd02b17'
+ '32c6a4360a2ba12dc77b6a840fa7672b')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
+ # FS#29545
+ patch -p1 -i "${srcdir}"/fix-pkg-config.patch
+
./bootstrap --prefix=/usr \
--mandir=/share/man \
--docdir=/share/doc/cmake \