updated katecpp

This commit is contained in:
arcan1s 2014-07-14 10:44:36 +04:00
parent dbfd919439
commit bfecaa4d62

29
katecpp-helper-plugin/PKGBUILD Executable file → Normal file
View File

@ -1,9 +1,9 @@
# Contributor: Evgeniy Alekseev <esalexeev@gmail.com>
# Contributor: giacomogiorgianni@gmail.com
# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com>
# Contributor: <giacomogiorgianni at gmail dot com>
pkgname=katecpp-helper-plugin
_name=KateCppHelperPlugin
pkgver=1.0.1
_pkgname=KateCppHelperPlugin
pkgver=1.0.2
pkgrel=1
pkgdesc="Kate C++ Helper plugin"
arch=('i686' 'x86_64')
@ -11,28 +11,23 @@ url="https://github.com/zaufi/kate-cpp-helper-plugin"
license=('GPL')
depends=('boost' 'clang>=3.3' 'kdesdk-kate' 'xapian-core')
makedepends=('automoc4' 'cmake')
conflicts=('kateinclude-helper-plugin')
provides=('kateinclude-helper-plugin')
replaces=('kateinclude-helper-plugin')
source=("http://kde-apps.org/CONTENT/content-files/148606-${_name}-${pkgver}.tar.bz2")
md5sums=('f355c453515817b504a2be77fae326a1')
source=("http://kde-apps.org/CONTENT/content-files/148606-${_pkgname}-${pkgver}.tar.bz2")
md5sums=('def3d81cff1e3bc4cc107a5d81ef158e')
build()
{
if [[ -d ${srcdir}/build ]]; then
build() {
rm -rf "${srcdir}/build"
fi
mkdir "${srcdir}/build"; cd "${srcdir}/build"
mkdir "${srcdir}/build"
cd "${srcdir}/build"
cmake -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
-DBUILD_TESTING=OFF \
-DNO_DOXY_DOCS=ON \
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
"../${_name}-${pkgver}"
"../${_pkgname}-${pkgver}"
make
}
package()
{
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}