mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
40 lines
917 B
Bash
40 lines
917 B
Bash
#
|
|
# Chakra Package
|
|
#
|
|
# Phil Miller <philm[at]chakra-project[dog]org>
|
|
# Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
# Drake Justice <djustice[at]chakra-project[dot]org>
|
|
#
|
|
|
|
|
|
pkgname=kdevplatform
|
|
pkgver=1.3.1
|
|
pkgrel=1
|
|
pkgdesc="A C/C++ development platform for KDE"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.kdevelop.org/"
|
|
license=('GPL')
|
|
depends=('kdelibs' 'boost' 'subversion' 'qjson')
|
|
optdepends=("kdesdk-kompare: difference checking")
|
|
makedepends=('cmake' 'automoc4')
|
|
install=${pkgname}.install
|
|
source=("http://download.kde.org/stable/kdevelop/4.3.1/src/${pkgname}-${pkgver}.tar.bz2")
|
|
sha1sums=('bba0cefdac6de83c8d3354534a94e8500dccda37')
|
|
|
|
build() {
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
|
|
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
|
|
}
|