mirror of
https://github.com/arcan1s/pkgbuild.git
synced 2025-04-24 23:47:17 +00:00
updated katecpp
This commit is contained in:
parent
dbfd919439
commit
bfecaa4d62
29
katecpp-helper-plugin/PKGBUILD
Executable file → Normal file
29
katecpp-helper-plugin/PKGBUILD
Executable file → Normal file
@ -1,9 +1,9 @@
|
|||||||
# Contributor: Evgeniy Alekseev <esalexeev@gmail.com>
|
# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com>
|
||||||
# Contributor: giacomogiorgianni@gmail.com
|
# Contributor: <giacomogiorgianni at gmail dot com>
|
||||||
|
|
||||||
pkgname=katecpp-helper-plugin
|
pkgname=katecpp-helper-plugin
|
||||||
_name=KateCppHelperPlugin
|
_pkgname=KateCppHelperPlugin
|
||||||
pkgver=1.0.1
|
pkgver=1.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Kate C++ Helper plugin"
|
pkgdesc="Kate C++ Helper plugin"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -11,28 +11,23 @@ url="https://github.com/zaufi/kate-cpp-helper-plugin"
|
|||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('boost' 'clang>=3.3' 'kdesdk-kate' 'xapian-core')
|
depends=('boost' 'clang>=3.3' 'kdesdk-kate' 'xapian-core')
|
||||||
makedepends=('automoc4' 'cmake')
|
makedepends=('automoc4' 'cmake')
|
||||||
conflicts=('kateinclude-helper-plugin')
|
source=("http://kde-apps.org/CONTENT/content-files/148606-${_pkgname}-${pkgver}.tar.bz2")
|
||||||
provides=('kateinclude-helper-plugin')
|
md5sums=('def3d81cff1e3bc4cc107a5d81ef158e')
|
||||||
replaces=('kateinclude-helper-plugin')
|
|
||||||
source=("http://kde-apps.org/CONTENT/content-files/148606-${_name}-${pkgver}.tar.bz2")
|
|
||||||
md5sums=('f355c453515817b504a2be77fae326a1')
|
|
||||||
|
|
||||||
build()
|
build() {
|
||||||
{
|
|
||||||
if [[ -d ${srcdir}/build ]]; then
|
|
||||||
rm -rf "${srcdir}/build"
|
rm -rf "${srcdir}/build"
|
||||||
fi
|
mkdir "${srcdir}/build"
|
||||||
mkdir "${srcdir}/build"; cd "${srcdir}/build"
|
cd "${srcdir}/build"
|
||||||
|
|
||||||
cmake -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
|
cmake -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
|
||||||
-DBUILD_TESTING=OFF \
|
-DBUILD_TESTING=OFF \
|
||||||
-DNO_DOXY_DOCS=ON \
|
-DNO_DOXY_DOCS=ON \
|
||||||
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
|
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
|
||||||
"../${_name}-${pkgver}"
|
"../${_pkgname}-${pkgver}"
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package()
|
package() {
|
||||||
{
|
|
||||||
cd "${srcdir}/build"
|
cd "${srcdir}/build"
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user