diff options
author | root <root@rshg054.dnsready.net> | 2011-12-09 23:14:52 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-09 23:14:52 +0000 |
commit | d22b68a6758c4f29a8e50a7be467374a53c68415 (patch) | |
tree | 019c8b74603792b4b8f08d6815438654a64d0e38 /testing/kdevplatform/PKGBUILD | |
parent | 707457876743e969be9eb163c36928978df245cd (diff) |
Fri Dec 9 23:14:52 UTC 2011
Diffstat (limited to 'testing/kdevplatform/PKGBUILD')
-rw-r--r-- | testing/kdevplatform/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/kdevplatform/PKGBUILD b/testing/kdevplatform/PKGBUILD new file mode 100644 index 000000000..75e543a98 --- /dev/null +++ b/testing/kdevplatform/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 144746 2011-12-08 09:39:48Z andrea $ +# Maintainer: +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> + +pkgname=kdevplatform +pkgver=1.2.3 +_pkgver=4.2.3 +pkgrel=2 +pkgdesc="A C/C++ development platform for KDE" +arch=('i686' 'x86_64') +url="http://www.kdevelop.org/" +license=('GPL') +depends=('kdelibs''subversion' 'qjson') +optdepends=("kdesdk-kompare: difference checking") +makedepends=('cmake' 'automoc4' 'boost') +install=${pkgname}.install +source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2" + 'subversion17.patch') +sha1sums=('c8badd157c2477b1b299403d01d40f68a1ba14cd' + '08e2ab2005a7a447f1733e8449a9bc926035fb9e') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + patch -p1 -i "${srcdir}"/subversion17.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} |