[skip-ci] syntax-highlighting: fix missing files

This commit is contained in:
Jeff Huang 2019-01-08 14:05:42 +01:00
parent 5329673d2d
commit 6d1a46290e

View File

@ -1,12 +1,12 @@
pkgname=syntax-highlighting
pkgver=5.53.0
pkgrel=1
pkgrel=2
pkgdesc='Syntax highlighting Engine for Structured Text and Code.'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/syntax-highlighting'
license=('MIT')
depends=('qt5-xmlpatterns' 'perl')
makedepends=("extra-cmake-modules>=5.53.0" 'python3' 'qt5-tools')
depends=('qt5-base')
makedepends=('extra-cmake-modules' 'qt5-xmlpatterns' 'qt5-tools' 'doxygen' 'python3')
groups=('kf5')
options=("debug")
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
@ -17,20 +17,20 @@ validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde
prepare() {
mkdir -p build
cd ${pkgname}-${pkgver}
# syntax highlighting for PKGBUILD files
sed -i -e 's|.bash_login;.profile|.bash_login;.profile;PKGBUILD|' data/syntax/bash.xml
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_SYSCONFDIR=/etc \
-DKDE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@" \
-DQRC_SYNTAX=OFF \
-DBUILD_QCH=ON
make
}