mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
kdev-python: 1.6.0
This commit is contained in:
parent
b7fff7265a
commit
917fdfcc76
@ -2,7 +2,8 @@
|
||||
# contributor: Jakub Kozisek <nodevel at gmail dot com>
|
||||
|
||||
pkgname=kdev-python
|
||||
pkgver=1.5.2
|
||||
pkgver=1.6.0
|
||||
_pkgver=4.6.0
|
||||
_branch=stable
|
||||
pkgrel=1
|
||||
pkgdesc="KDevelop plugin that starts a script by opening a webbrowser"
|
||||
@ -11,24 +12,22 @@ url="http://www.kdevelop.org/"
|
||||
license=('GPL')
|
||||
depends=('kdevelop')
|
||||
makedepends=('cmake' 'automoc4' 'kdevelop-pg-qt')
|
||||
source=("http://master.kde.org/${_branch}/kdevelop/${pkgname}/${pkgver}/src/${pkgname}-v${pkgver}.tar.xz")
|
||||
md5sums=('1acb6ec3f3ef1fb56d75b2d51a6249fe')
|
||||
source=("http://download.kde.org/${_branch}/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.xz")
|
||||
md5sums=('146ca82161dada9d32dc31e7e3e1a19d')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../${pkgname}-v${pkgver} \
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
mkdir build && cd build
|
||||
cmake \
|
||||
-DCMAKE_BUILD_TYPE=RELWITHDEBINFO \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
..
|
||||
make parser
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/build
|
||||
|
||||
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user