diff options
author | root <root@rshg054.dnsready.net> | 2012-09-12 00:03:33 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-12 00:03:33 +0000 |
commit | db1cd10264e7cd2810148efd50ce612288343839 (patch) | |
tree | 86a6657c9a3f606e6821f6af65bf2952fe56b6be /testing | |
parent | 870527386e33c72826da94aee783bb212b06c53a (diff) |
Wed Sep 12 00:03:32 UTC 2012
Diffstat (limited to 'testing')
-rw-r--r-- | testing/kdevelop-php/PKGBUILD | 46 | ||||
-rw-r--r-- | testing/kdevelop/PKGBUILD | 31 | ||||
-rw-r--r-- | testing/kdevelop/kdevelop.install | 13 | ||||
-rw-r--r-- | testing/kdevplatform/PKGBUILD | 33 | ||||
-rw-r--r-- | testing/kdevplatform/kdevplatform.install | 11 |
5 files changed, 134 insertions, 0 deletions
diff --git a/testing/kdevelop-php/PKGBUILD b/testing/kdevelop-php/PKGBUILD new file mode 100644 index 000000000..11d184b2a --- /dev/null +++ b/testing/kdevelop-php/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 166545 2012-09-10 13:09:01Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdevelop-php +pkgver=1.3.90 +_pkgver=4.3.90 +pkgrel=1 +pkgdesc="PHP language and documentation plugin for KDevelop/Quanta" +arch=('i686' 'x86_64') +url="http://www.kdevelop.org/" +license=('GPL') +depends=('kdevelop-pg-qt') +makedepends=('cmake' 'automoc4') +replaces=('kdevelop-php-docs') +conflicts=('kdevelop-php-docs') +source=(http://download.kde.org/unstable/kdevelop/${_pkgver}/src/${pkgname}-{,docs-}${pkgver}.tar.bz2) +sha1sums=('11f9b3d2d27ad93aa666edae60d08f64ea82bb8d' + 'f11194f5672d78406b6c54d53b10c02384e5bf99') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make + + # kdevelop-php-docs + cd "${srcdir}" + mkdir build-docs + cd build-docs + cmake ../${pkgname}-docs-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install + + # kdevelop-php-docs + cd "${srcdir}"/build-docs + make DESTDIR="${pkgdir}" install +} diff --git a/testing/kdevelop/PKGBUILD b/testing/kdevelop/PKGBUILD new file mode 100644 index 000000000..22df44824 --- /dev/null +++ b/testing/kdevelop/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 166547 2012-09-10 13:10:09Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> + +pkgname=kdevelop +pkgver=4.3.90 +pkgrel=1 +pkgdesc="A C/C++ development environment for KDE" +arch=('i686' 'x86_64') +url="http://www.kdevelop.org/" +license=('GPL') +depends=('kdebase-workspace' 'kdevplatform' 'kdesdk-okteta' 'kdebase-katepart') +makedepends=('cmake' 'automoc4') +install="${pkgname}.install" +source=("http://download.kde.org/unstable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('18ed2dccdeef8abe41c135cd3038038790b4e50a') + +build() { + 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 +} diff --git a/testing/kdevelop/kdevelop.install b/testing/kdevelop/kdevelop.install new file mode 100644 index 000000000..5c1338e67 --- /dev/null +++ b/testing/kdevelop/kdevelop.install @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/testing/kdevplatform/PKGBUILD b/testing/kdevplatform/PKGBUILD new file mode 100644 index 000000000..5f8c52bff --- /dev/null +++ b/testing/kdevplatform/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 166549 2012-09-10 13:31:25Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> + +pkgname=kdevplatform +pkgver=1.3.90 +_pkgver=4.3.90 +pkgrel=1 +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/unstable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('88300217681caa5c69f09b6428f2a6298cbd4733') + +build() { + 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 +} diff --git a/testing/kdevplatform/kdevplatform.install b/testing/kdevplatform/kdevplatform.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/testing/kdevplatform/kdevplatform.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |